Interface IRoleDefinition
Defines a single role definition, including a name, description, and set of rights.
Inherited Members
Namespace: PnP.Core.Model.Security
Assembly: PnP.Core.dll
Syntax
public interface IRoleDefinition : IDataModel<IRoleDefinition>, IDataModelParent, IDataModelWithContext, ISupportModules<IRoleDefinition>, IDataModelGet<IRoleDefinition>, IDataModelLoad<IRoleDefinition>, IDataModelUpdate, IDataModelDelete, IQueryableDataModel
Properties
All
A special property used to add an asterisk to a $select statement
Declaration
object All { get; }
Property Value
| object |
BasePermissions
Gets or sets a value that specifies the base permissions for the role definition.
Declaration
IBasePermissions BasePermissions { get; set; }
Property Value
| IBasePermissions |
Description
Gets or sets a value that specifies the description of the role definition.
Declaration
string Description { get; set; }
Property Value
| string |
Hidden
Gets a value that specifies whether the role definition is displayed.
Declaration
bool Hidden { get; set; }
Property Value
| bool |
Id
Gets a value that specifies the Id of the role definition.
Declaration
int Id { get; }
Property Value
| int |
Name
Gets or sets a value that specifies the role definition name.
Declaration
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.
Declaration
int Order { get; set; }
Property Value
| int |
RoleTypeKind
Gets a value that specifies the type of the role definition.
Declaration
RoleType RoleTypeKind { get; set; }
Property Value
| RoleType |