Table of contents
TOC
Collapse the table of content
Expand the table of content

RoleAssignment Class

SharePoint Dev Documents|Last Updated: 8/7/2017
|
1 Contributor

Role Assignment for a target Principal

Namespace:OfficeDevPnP.Core.Framework.Provisioning.Model
Assembly: OfficeDevPnP.Core.dll

Inheritance Hierarchy

System.Object
OfficeDevPnP.Core.Framework.Provisioning.Model.BaseModel

Syntax

public class RoleAssignment: BaseModel, IEquatable<RoleAssignment>

Constructors

NameDescription
RoleAssignment()Role Assignment for a target Principal

Properties

NameDescription
PrincipalDefines the Role to which the assignment will apply
RemoveAllows to remove a role assignment, instead of adding it. It is an optional attribute, and by default it assumes a value of false.
RoleDefinitionDefines the Role to which the assignment will apply

Methods

NameDescription
Equals(Object)Compares object with RoleAssignment
Equals(RoleAssignment)Compares RoleAssignment object based on Principal and RoleDefinition
GetHashCode()Gets the hash code

See also

© 2018 Microsoft