This method will return all allowed permission for the given userToken and given the entityToken.

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

Syntax

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

Parameters

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

Return Value

Allowed permission types

See Also