hi im trying to get current logged in user from sharepoint site. All im getting is domain/administrator.
I tried following.
SPUser and delegation with elevated privilege. they are also not working for me.
following is the code im working.
spsite site = new spsite("some site")
spweb web = site.openweb()
then im using spuser object to get the user.
i went to the following link but it seems that guy was also not able to do this....
View Complete Post