Class UserController.WMUserArgs
Class to represent arguments to WMUser that are visible to external services.
Inherited Members
Namespace: Quantellia.WMServer.Auth
Assembly: WMServer.dll
Syntax
public class UserController.WMUserArgs
Constructors
WMUserArgs()
Default constructor.
Declaration
public WMUserArgs()
WMUserArgs(WMUserDTO)
Constructor to create a new UserController.WMUserArgs based on a WMUserDTO instance.
Declaration
public WMUserArgs(WMUserDTO dto)
Parameters
| Type | Name | Description |
|---|---|---|
| WMUserDTO | dto |
Properties
Email address of this user.
Declaration
public string Email { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ID
Unique ID
Declaration
public string? ID { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IsSysAdmin
An optional property to set this user's sysadmin status. If this property is provided, the caller must be a sysadmin as well, otherwise the call will throw unauthorized.
Declaration
public bool? IsSysAdmin { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
LoginName
Login u_id for this user.
Declaration
public string? LoginName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Human readable name of user
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OrganizationID
An optional organizationID to initialize this user under. The caller must have the ability to manage users in the organization.
Declaration
public string? OrganizationID { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Password
Password for this user.
Declaration
public string? Password { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserStatus
Current status of this user.
Declaration
public PrincipalStatus UserStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| PrincipalStatus |
Methods
ToWMUserDTO(ControllerBase)
Create a new WMUserDTO based on this UserController.WMUserArgs object
Declaration
public WMUserDTO ToWMUserDTO(ControllerBase controller)
Parameters
| Type | Name | Description |
|---|---|---|
| ControllerBase | controller |
Returns
| Type | Description |
|---|---|
| WMUserDTO |