SPPrincipal Members
Include Protected Members
Include Inherited Members
Represents a user or group that can be assigned permissions in Microsoft SharePoint Foundation to control security.
The SPPrincipal type exposes the following members.
Properties
Name | Description | |
---|---|---|
ID | Gets the identifier (ID) of the principal. (Overrides SPMember.ID.) | |
LoginName | Implement this abstract property to get a string that contains the login name of the user. | |
Name | Gets or sets the name of the principal. | |
ParentWeb | Gets the parent Web site for the principal. | |
Roles | Obsolete. Gets the collection of roles associated with the principal. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetField | Reserved for internal use. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
InitMember | Initializes the member. | |
MemberwiseClone | (Inherited from Object.) | |
SetField | ||
ToString | (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
m_arrMembersData | Stores the member data as a two-dimensional array. | |
m_bDataInitialized | Contains a Boolean value indicating whether the data is initialized. | |
m_index | Contains the index into the m_arrMembersData array for the current member. | |
m_web | Stores the Web site object. |
Top