SPPrincipal Properties

Include Protected Members
Include Inherited Members

The SPPrincipal type exposes the following members.

Properties

  Name Description
Public property ID Gets the identifier (ID) of the principal. (Overrides SPMember.ID.)
Public property LoginName Implement this abstract property to get a string that contains the login name of the user.
Public property Name Gets or sets the name of the principal.
Public property ParentWeb Gets the parent Web site for the principal.
Public property Roles Obsolete. Gets the collection of roles associated with the principal.

Top

See Also

Reference

SPPrincipal Class

Microsoft.SharePoint Namespace