This method will return all allowed permission for the current logged in user given the entityToken.

Namespace: Composite.C1Console.Security
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public static IEnumerable<PermissionType> GetPermissionsForCurrentUser(
	EntityToken entityToken
)
Visual Basic
Public Shared Function GetPermissionsForCurrentUser ( _
	entityToken As EntityToken _
) As IEnumerable(Of PermissionType)
Visual C++
public:
static IEnumerable<PermissionType>^ GetPermissionsForCurrentUser(
	EntityToken^ entityToken
)

Parameters

entityToken
Type: Composite.C1Console.Security..::..EntityToken
EntityToken to get permissions for.

Return Value

Allowed permission types

See Also