SPRoleAssignment members

Defines the role assignments for a user or group on the current object.

The SPRoleAssignment type exposes the following members.

Constructors

  Name Description
Public method SPRoleAssignment(SPPrincipal) Initializes a new instance of the SPRoleAssignment class that has no role definition bindings for the specified user or group.
Public method SPRoleAssignment(String, String, String, String) Initializes a new instance of the SPRoleAssignment class that has no role definition bindings for the specified user.

Top

Properties

  Name Description
Public property Member Gets the user or group for the role assignment.
Public property Parent Gets the parent object for the role assignment.
Public property ParentSecurableObject Gets the parent object for the role assignment.
Public property RoleDefinitionBindings Gets the collection of role definition bindings for the role assignment.

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.)
Public method ImportRoleDefinitionBindings Imports the specified role definition bindings into the collection of role definitions that are bound to the role assignment.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Update Updates the role assignment object with changes that have been made to its properties.

Top

See also

Reference

SPRoleAssignment class

Microsoft.SharePoint namespace