Class CoreUser
A user instance only existing on the core server
Inheritance
System.Object
CoreUser
Namespace: ImageVault.Core.Common.Security
Assembly: ImageVault.Core.dll
Syntax
public class CoreUser : User
Constructors
CoreUser(User)
Declaration
public CoreUser(User user)
Parameters
Type | Name | Description |
---|---|---|
User | user |
Properties
ImpersonatingClient
Gets the impersonating client of the user (if any)
Declaration
public string ImpersonatingClient { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Create(IPrincipal, String)
Creates a new CoreUser based on the supplied principal
Declaration
public static CoreUser Create(IPrincipal principal, string identityPrefix)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Principal.IPrincipal | principal | |
System.String | identityPrefix | Prefix that should be applied to all identities |
Returns
Type | Description |
---|---|
CoreUser |