Show / Hide Table of Contents

Interface IPermissionEntity

Encapsulates functionality to associate a principal and a permissions set.

Namespace: Microsoft.GNS.Roster.Internal
Assembly: Microsoft.GNS.Roster.Internal.dll
Syntax
public interface IPermissionEntity

Properties

View Source

Permissions

Gets or sets the permissions flags.

Declaration
PermissionFlags Permissions { get; set; }
Property Value
Type Description
PermissionFlags
View Source

Principal

Gets the principal in which to set permissions.

Declaration
IRosterPrincipal Principal { get; }
Property Value
Type Description
IRosterPrincipal

Methods

View Source

HasPermission(PermissionFlags)

Checks for a specific permission by integer value.

Declaration
bool HasPermission(PermissionFlags value)
Parameters
Type Name Description
PermissionFlags value

The permission value to check.

Returns
Type Description
System.Boolean

True if the principal has the permission. Otherwise false.

  • View Source
In This Article
Back to top Generated by DocFX