Class OrganizationController.WMOrganizationArgs
Class to represent arguments to WMUser that are visible to external services.
Inherited Members
Namespace: Quantellia.WMServer.Auth
Assembly: WMServer.dll
Syntax
public class OrganizationController.WMOrganizationArgs
Constructors
WMOrganizationArgs()
Default constructor.
Declaration
public WMOrganizationArgs()
WMOrganizationArgs(WMOrganization)
Constructor to create a new OrganizationController.WMOrganizationArgs based on a WMUserDTO instance.
Declaration
public WMOrganizationArgs(WMOrganization dto)
Parameters
Type | Name | Description |
---|---|---|
WMOrganization | dto |
Properties
ID
Unique ID
Declaration
public string? ID { get; set; }
Property Value
Type | Description |
---|---|
string |
LoginName
Login 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 |
Password
Password for this user.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
string |
Status
Current status of this user.
Declaration
public PrincipalStatus Status { get; set; }
Property Value
Type | Description |
---|---|
PrincipalStatus |
Methods
ToWMUserDTO(WMPrincipal)
Create a new WMUserDTO based on this OrganizationController.WMOrganizationArgs object
Declaration
public WMOrganizationDTO ToWMUserDTO(WMPrincipal principal)
Parameters
Type | Name | Description |
---|---|---|
WMPrincipal | principal |
Returns
Type | Description |
---|---|
WMOrganizationDTO |