ISecurity.GetCurrentUserAccess

Compares the current user's roles to the roles in the specified list of permissions and returns the maximum access level the user has or None if not found.

public AccessRights GetCurrentUserAccess(IList<IPermission> permissions);

Return Value

The access level for the current user.

Parameters

permissions
A collection of IPermission objects.

Overloads:


See also:

Interface ISecurity