Interface IClientSecurityManager
An interface for extracting user and role identities
Assembly: ImageVault.Common.dll
Syntax
public interface IClientSecurityManager
Methods
GetRoleIdentities(IPrincipal)
Gets the role identities for the supplied principal
Declaration
IEnumerable<string> GetRoleIdentities(IPrincipal principal)
Parameters
Type |
Name |
Description |
System.Security.Principal.IPrincipal |
principal |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
GetUserIdentity(IPrincipal)
Gets the user identity for the principal
Declaration
string GetUserIdentity(IPrincipal principal)
Parameters
Type |
Name |
Description |
System.Security.Principal.IPrincipal |
principal |
|
Returns
Type |
Description |
System.String |
|
Extension Methods