Represents a user in Microsoft SharePoint Foundation.

learn more… | top users | synonyms

1
vote
2answers
189 views

Bind all users of office 365 except system users using C#

How to bind all the users of Sharepoint(office 365) except system users like : "System Account", "NT AUTHORITY\authenticated users", "_SPOCacheFull", "YLO001_spocrwl_142_11094". I want only ...
2
votes
4answers
9k views

How to find permission level for specific user using visual studio?

How to find permission level for specific user in site collection and subsite using visual studio?
1
vote
1answer
2k views

How to map Claims to SPUser object?

I have SharePoint 2010 with Claims Authentication (SAML / AD FS v2). I have made an incoming mapping for UPN, Role, CommonName. I want to show the user's "DisplayName" in the right corner (the Name on ...
1
vote
1answer
5k views

How to check if current user is exist in a AD group inside a Sharepoint group

I have a sharepoint permission group with some permissionslevels. The name is: "SPProgress". Inside this group I have inserted a AD usergroup with the name "ADProgress". I would like to check in ...
1
vote
2answers
2k views

Getting SPUser Last login date / time

Is there a way to get the last login time from an SPUser object? I don't want the last login time to Active Directory, but specifically for the sharepoint site.
3
votes
4answers
12k views

How to know the exact loginname of the user who operates as system account?

If current logged user operates as "System Account", SPContext.Current.Web.CurrentUser.LoginName will return "sharepoint\system", so I want to know the exact loginname of the user. Here is what I ...
2
votes
2answers
2k views

How to remove user from Sharepoint Group using JavaScript?

I want to add and remove user to/from Office 365 Group. I tried using C# code but got error : "User does not exist or is not unique". After searching on the web I can't find solution.So i tried ...
1
vote
1answer
2k views

SPFieldUserValue User is null

I have a list in which I can also view the version of each item. Suppose I have an item ItemX which has been modified by UserX, I then delete UserX and try to view the version item of ItemX which had ...
1
vote
1answer
401 views

Display SPUser Information on an application page

I have an application page (SP2010) where I have a SPUser object (the current user), now I would like to display this SPUser as an Hyperlink on the apsx, linked to his UserProfilePage (userdisp.aspx) ...