Class UserInfo
Summary description for UserInfo.
Inheritance
System.Object
UserInfo
Namespace: ImageVault.Common.Data
Assembly: ImageVault.Common.dll
Syntax
public class UserInfo : Object
Constructors
UserInfo()
Initializes a new instance of the UserInfo class.
Declaration
public UserInfo()
UserInfo(IUser)
Initializes a new instance of the UserInfo class.
Declaration
public UserInfo(IUser user)
Parameters
Type | Name | Description |
---|---|---|
IUser | user |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If |
UserInfo(UserInfo)
Initializes a new instance of the UserInfo class.
Declaration
public UserInfo(UserInfo userInfo)
Parameters
Type | Name | Description |
---|---|---|
UserInfo | userInfo |
Properties
ImpersonatingClient
Get/Sets the ImpersonatingClient of the UserInfo
Declaration
public string ImpersonatingClient { get; set; }
Property Value
Type | Description |
---|---|
System.String | If impersonating, the client that allowed the impersonate is contained here |
Roles
Get/Sets the Roles of the UserInfo
Declaration
public List<string> Roles { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
Username
Get/Sets the Username of the UserInfo
Declaration
public string Username { get; set; }
Property Value
Type | Description |
---|---|
System.String |