Class RoleDefinition
Inherited Members
Namespace: PnP.Framework.Provisioning.Model
Assembly: PnP.Framework.dll
Syntax
public class RoleDefinition : BaseModel, IProvisioningTemplateDescendant
Constructors
RoleDefinition()
Constructor for RoleDefinition class
Declaration
public RoleDefinition()
RoleDefinition(IEnumerable<PermissionKind>)
Properties
Description
Defines the Description of the Role Definition
Declaration
public String Description { get; set; }
Property Value
String
|
Name
Defines the Name of the Role Definition
Declaration
public String Name { get; set; }
Property Value
String
|
Permissions
Defines the Permissions of the Role Definition
Declaration
public List<PermissionKind> Permissions { get; }
Property Value
List<Microsoft.SharePoint.Client.PermissionKind>
|
Methods
Equals(RoleDefinition)
Compares RoleDefinition object based on Name, Description and Permisssions
Declaration
public bool Equals(RoleDefinition other)
Parameters
RoleDefinition
other
RoleDefinition object |
Returns
System.Boolean
true if the RoleDefinition object is equal to the current object; otherwise, false. |
Equals(Object)
Compares object with RoleDefinition
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Object that represents RoleDefinition |
Returns
System.Boolean
true if the current object is equal to the RoleDefinition |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
System.Int32
Returns HashCode |