.net - determine the user on SharePoint -


How can I know user logging on SharePoint via code? I'm using WebPart inside SmartPart and a user control inside it.

You can get information with the user:

  SPContext .Current.WebCurrentUser  

Here's some information like email, id, group, name ... type Ctrl + Space;)

Hope this Helps ...


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -