Interface IBasePermissions
Defines the granted permission mask
Assembly: PnP.Core.dll
Syntax
public interface IBasePermissions : IDataModel<IBasePermissions>, IDataModelParent, IDataModelWithContext, ISupportModules<IBasePermissions>
Properties
A special property used to add an asterisk to a $select statement
Declaration
Property Value
Maximum granted permission mask
Declaration
Property Value
Minimal granted permission mask
Declaration
Property Value
Methods
Clears the specified permission for the current instance.
Declaration
void Clear(PermissionKind permissionKind)
Parameters
Clears all permissions for the current instance.
Declaration
Declaration
bool Has(PermissionKind perm)
Parameters
Returns
System.Boolean
True if included, false otherwise
|
Are the requested permission masks included?
Declaration
bool HasPermissions(uint high, uint low)
Parameters
System.UInt32
high
High end mask
|
System.UInt32
low
Low end mask
|
Returns
System.Boolean
True if included, false otherwise
|
Sets the specified permission for the current instance.
Declaration
void Set(PermissionKind permissionKind)
Parameters
Extension Methods