Class User
Repersents a user that can log into the system.
Inheritance
System.Object
User
Namespace: DirectScale.Disco.Extension
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public class User : Object
Constructors
User()
Declaration
public User()
Properties
Authenticated
Should always be true if this user was returned from IUserService.
Declaration
public bool Authenticated { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
I don't think there is any useful way to interpret this value.
DisplayName
Represents this user's display name.
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Declaration
public string EMail { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EmailAddress
Represents this user's email address.
Declaration
public string EmailAddress { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsCorporate
Indicates if the user can log into the corporate admin site.
Declaration
public bool IsCorporate { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LastLogin
Indicates when the user last successfully logged in.
Declaration
public DateTime LastLogin { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
PrimaryRole
Represents this user's primary role.
Declaration
public string PrimaryRole { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This determines what Rights returns.
Rights
Lists the user's rights.
Declaration
public string[] Rights { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
SecondaryRole
Represents this user's primary role.
Declaration
public string SecondaryRole { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This determines what Rights returns.
UserName
Represents this user's username.
Declaration
public string UserName { get; set; }
Property Value
Type | Description |
---|---|
System.String |