Table of Contents

Interface IBasePermissions

Namespace
PnP.Core.Model.SharePoint
Assembly
PnP.Core.dll

Defines the granted permission mask

public interface IBasePermissions : IDataModel<IBasePermissions>, IDataModelParent, IDataModelWithContext, ISupportModules<IBasePermissions>
Inherited Members
Extension Methods

Properties

All

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

object All { get; }

Property Value

object

High

Maximum granted permission mask

long High { get; set; }

Property Value

long

Low

Minimal granted permission mask

long Low { get; set; }

Property Value

long

Methods

Clear(PermissionKind)

Clears the specified permission for the current instance.

void Clear(PermissionKind permissionKind)

Parameters

permissionKind PermissionKind

ClearAll()

Clears all permissions for the current instance.

void ClearAll()

Has(PermissionKind)

Is this requested PermissionKind include?

bool Has(PermissionKind perm)

Parameters

perm PermissionKind

PermissionKind permisson

Returns

bool

True if included, false otherwise

HasPermissions(uint, uint)

Are the requested permission masks included?

bool HasPermissions(uint high, uint low)

Parameters

high uint

High end mask

low uint

Low end mask

Returns

bool

True if included, false otherwise

Set(PermissionKind)

Sets the specified permission for the current instance.

void Set(PermissionKind permissionKind)

Parameters

permissionKind PermissionKind