SPPrincipal Properties

The SPPrincipal type exposes the following members.

  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.