Interface IUser
Defines a user in the system
Namespace: ImageVault.Common.Data
Assembly: ImageVault.Common.dll
Syntax
public interface IUser
Properties
Claims
Declaration
IList<Claim> Claims { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.Security.Claims.Claim> |
EmailAddress
Gets the EmailAddress of the User
Declaration
string EmailAddress { get; }
Property Value
Type | Description |
---|---|
System.String |
GlobalRoles
The global roles of the user
Declaration
GlobalRoles GlobalRoles { get; }
Property Value
Type | Description |
---|---|
GlobalRoles |
Identities
Gets the identities of the user
Declaration
IList<string> Identities { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
IsApproved
Returns true if the user is approved
Declaration
bool IsApproved { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsAuthenticated
Gets the authenticated status of the user
Declaration
bool IsAuthenticated { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsHostManagement
Returns true if the user is the host management user
Declaration
bool IsHostManagement { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
NameIdentifier
Gets the name identifier for the user
Declaration
string NameIdentifier { get; }
Property Value
Type | Description |
---|---|
System.String |
Principal
The underlying System.Security.Principal.IPrincipal of the user
Declaration
IPrincipal Principal { get; }
Property Value
Type | Description |
---|---|
System.Security.Principal.IPrincipal |
Roles
The roles of the user
Declaration
IList<string> Roles { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
Username
The username of the user
Declaration
string Username { get; }
Property Value
Type | Description |
---|---|
System.String |