Table of Contents

Interface IRoleDefinition

Namespace
PnP.Core.Model.Security
Assembly
PnP.Core.dll

Defines a single role definition, including a name, description, and set of rights.

public interface IRoleDefinition : IDataModel<IRoleDefinition>, IDataModelParent, IDataModelWithContext, ISupportModules<IRoleDefinition>, IDataModelGet<IRoleDefinition>, IDataModelLoad<IRoleDefinition>, IDataModelUpdate, IDataModelDelete, IQueryableDataModel
Inherited Members
Extension Methods

Properties

All

A special property used to add an asterisk to a $select statement

object All { get; }

Property Value

object

BasePermissions

Gets or sets a value that specifies the base permissions for the role definition.

IBasePermissions BasePermissions { get; set; }

Property Value

IBasePermissions

Description

Gets or sets a value that specifies the description of the role definition.

string Description { get; set; }

Property Value

string

Hidden

Gets a value that specifies whether the role definition is displayed.

bool Hidden { get; set; }

Property Value

bool

Id

Gets a value that specifies the Id of the role definition.

int Id { get; }

Property Value

int

Name

Gets or sets a value that specifies the role definition name.

string Name { get; set; }

Property Value

string

Order

Gets or sets a value that specifies the order position of the object in the site collection Permission Levels page.

int Order { get; set; }

Property Value

int

RoleTypeKind

Gets a value that specifies the type of the role definition.

RoleType RoleTypeKind { get; set; }

Property Value

RoleType