SPUser SPUser SPUser Class

Definition

public ref class SPUser sealed : Microsoft::SharePoint::SPPrincipal
[Microsoft.SharePoint.Client.ClientCallableType(DeleteMethodClientName="DeleteObject", EntityKeyPropertyNames="LoginName", FactoryType=typeof(Microsoft.SharePoint.SPObjectFactory), Name="User", ObjectIdentityPropertyName="CanonicalId", ObjectUrlPathPropertyName="Microsoft.SharePoint.SPObjectUrlPath.GetUrlPath", PatchUpdateMethodClientName="Update", PutUpdateMethodClientName="Update", SampleUrl="{apiroot}/web/sitegroups({groupid})/users({loginname})", ServerTypeId="{ae70d2a4-ec46-4ed9-9b1e-9d0245754463}")]
[Microsoft.SharePoint.Client.SubsetCallableType]
public sealed class SPUser : Microsoft.SharePoint.SPPrincipal
Public NotInheritable Class SPUser
Inherits SPPrincipal
Inheritance
Attributes
Microsoft.SharePoint.Client.ClientCallableTypeAttribute Microsoft.SharePoint.Client.SubsetCallableTypeAttribute

Properties

Alerts Alerts Alerts
AllowBrowseUserInfo AllowBrowseUserInfo AllowBrowseUserInfo
Email Email Email
Groups Groups Groups
ID ID ID
IsApplicationPrincipal IsApplicationPrincipal IsApplicationPrincipal
IsDomainGroup IsDomainGroup IsDomainGroup
IsHiddenInUI IsHiddenInUI IsHiddenInUI
IsShareByEmailGuestUser IsShareByEmailGuestUser IsShareByEmailGuestUser
IsSiteAdmin IsSiteAdmin IsSiteAdmin
IsSiteAuditor IsSiteAuditor IsSiteAuditor
IsUserSettingsSyncedWithProvider IsUserSettingsSyncedWithProvider IsUserSettingsSyncedWithProvider
LanguageSettings LanguageSettings LanguageSettings
LoginName LoginName LoginName
Name Name Name
Notes Notes Notes
OwnedGroups OwnedGroups OwnedGroups
ParentWeb ParentWeb ParentWeb Inherited from SPPrincipal
RawSid RawSid RawSid
RegionalSettings RegionalSettings RegionalSettings
RequireRequestToken RequireRequestToken RequireRequestToken
Roles Roles Roles Inherited from SPPrincipal
Sid Sid Sid
SystemUserKey SystemUserKey SystemUserKey
UserId UserId UserId
UserToken UserToken UserToken
Xml Xml Xml

Methods

GetBinaryId() GetBinaryId() GetBinaryId()
GetField(UInt32) GetField(UInt32) GetField(UInt32) Inherited from SPPrincipal
InitMember() InitMember() InitMember() Inherited from SPPrincipal
SetField(UInt32, Object) SetField(UInt32, Object) SetField(UInt32, Object) Inherited from SPPrincipal
ToString() ToString() ToString()
Update() Update() Update()
UpdateUserSettings(SPRegionalSettings, SPLanguageSettings) UpdateUserSettings(SPRegionalSettings, SPLanguageSettings) UpdateUserSettings(SPRegionalSettings, SPLanguageSettings)

Fields

m_arrMembersData m_arrMembersData m_arrMembersData Inherited from SPPrincipal
m_bDataInitialized m_bDataInitialized m_bDataInitialized Inherited from SPPrincipal
m_index m_index m_index Inherited from SPPrincipal
m_web m_web m_web Inherited from SPPrincipal

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to