Search Results for

    Show / Hide Table of Contents

    Class RoleDefinition

    Inheritance
    System.Object
    BaseModel
    RoleDefinition
    Inherited Members
    BaseModel.ParentTemplate
    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>)

    Constructor for RoleDefinition class

    Declaration
    public RoleDefinition(IEnumerable<PermissionKind> permissions)
    Parameters
    IEnumerable<Microsoft.SharePoint.Client.PermissionKind> permissions

    RoleDefinition permissions

    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

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer