Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Server Technologies
SDK Documentation
SPUser Class
 SPUser Members
SPUser Members (Microsoft.SharePoint)

Represents a user in Microsoft Windows SharePoint Services.

The following tables list the members exposed by the SPUser type.

  Name Description
Protected field m_arrMembersData  Stores the member data as a two-dimensional array. (inherited from SPPrincipal)
Protected field m_bDataInitialized  Contains a Boolean value indicating whether the data is initialized. (inherited from SPPrincipal)
Protected field m_index  Contains the index into the m_arrMembersData array for the current member. (inherited from SPPrincipal)
Protected field m_web  Stores the Web site object. (inherited from SPPrincipal)
Top
  Name Description
Public property Alerts Gets the collection of alerts the user has created.
Public property Email Gets or sets the e-mail address of the user.
Public property Groups Gets the collection of groups of which the user is a member.
Public property ID Overridden. Gets the member ID for the user.
Public property IsDomainGroup Gets a Boolean value that indicates whether the user is a domain group.
Public property IsSiteAdmin Gets or sets a Boolean value that specifies whether the user is a site collection administrator.
Public property IsSiteAuditor Gets a Boolean value that indicates whether the user is a site collection auditor.
Public property LoginName Gets the user name of the user.
Public property Name Overridden. Gets or sets the display name of the user.
Public property Notes Gets or sets notes for the user.
Public property OwnedGroups Gets the collection of groups that the user owns.
Public property ParentWeb  Gets the parent Web site for the principal. (inherited from SPPrincipal)
Public property RawSid Gets the system ID of the user in binary format.
Public property RegionalSettings Gets or sets the regional settings associated with the user.
Public property Roles  Gets the collection of roles associated with the principal. Obsolete. (inherited from SPPrincipal)
Public property Sid Gets the unique security ID for the network account of the user.
Public property UserToken Gets the user token that identifies the authentication process applied to the user.
Public property Xml Gets the XML representation of the user.
Top
(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. (inherited from Object)
Public method GetBinaryId Returns the system ID of the user in binary format.
Public method GetHashCode  (inherited from Object)
Public method GetType  (inherited from Object)
Public method Static ReferenceEquals  (inherited from Object)
Public method ToString Overridden. Returns the user name of the user.
Public method Update Updates the database with changes made to the properties of the user object.
Top
  Name Description
Protected method Finalize  (inherited from Object)
Protected method GetField  (inherited from SPPrincipal)
Protected method InitMember  Initializes the member. (inherited from SPPrincipal)
Protected method MemberwiseClone  (inherited from Object)
Protected method SetField  (inherited from SPPrincipal)
Top
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker