Share via


SPPermission members

NOTE: This API is now obsolete.

Use the new SPRoleDefinition and SPRoleAssignment classes instead, to define roles and to assign users to them. For more information, see Authorization object model. (In Windows SharePoint Services 2.0, SPRole represented the permission assigned to a user or group for a list or a site and is maintained for backward compatibility.)

The SPPermission type exposes the following members.

Properties

  Name Description
Public property BasePermissions Obsolete. Gets the base permissions for the permission.
Public property Member Obsolete. Gets the member object for the user or group that has the permission.
Public property Parent Obsolete. Gets the parent object for the specified permission object, which can be a list or a Web site.
Public property PermissionMask Obsolete. Gets or sets the rights for the permission mask of the user or group.
Public property Xml Obsolete. Gets the permission object in XML format.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Obsolete. Returns the member ID of the user or group for the permission object. (Overrides Object.ToString().)

Top

See also

Reference

SPPermission class

Microsoft.SharePoint namespace