Class WMOrganizationUserArgs
Arguments passed via API that detail a user's involvement with an organization. This class acts as a view that joins all relevant information into a single API call return object.
Inherited Members
Namespace: Quantellia.WMServer.Auth.Model.UserAccess.Organization
Assembly: WMServer.dll
Syntax
public class WMOrganizationUserArgs
Constructors
WMOrganizationUserArgs(WMOrganizationUser)
Standard constructor. Assigns all OrganizationUser properties. Further assignments for user properties and roles is required.
Declaration
public WMOrganizationUserArgs(WMOrganizationUser organizationUser)
Parameters
Type | Name | Description |
---|---|---|
WMOrganizationUser | organizationUser |
Properties
Email address of this user.
Declaration
public string Email { get; set; }
Property Value
Type | Description |
---|---|
string |
ID
The ID of the OrganizationUser (join between user and organization, distinct from the userID or orgID)
Declaration
public string ID { get; }
Property Value
Type | Description |
---|---|
string |
IsOrgAdmin
Whether this user is an administrator of this organization.
Declaration
public bool IsOrgAdmin { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsSysAdmin
Whether this user is a system administrator.
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 |
Password
Password for this user.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
string |
Roles
Roles possessed by this user.
Declaration
public List<WMOrganizationRoleType> Roles { get; set; }
Property Value
Type | Description |
---|---|
List<WMOrganizationRoleType> |
Status
Whether this join is active.
Declaration
public string Status { get; set; }
Property Value
Type | Description |
---|---|
string |
WMOrganizationID
The ID in this join
Declaration
public string? WMOrganizationID { get; set; }
Property Value
Type | Description |
---|---|
string |
WMUserID
The ID in this join.
Declaration
public string WMUserID { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
AddUserProperties(WMUserDTO)
Adds the properties inherent in the user to this WMOrganizationUserArgs
Declaration
public void AddUserProperties(WMUserDTO userDTO)
Parameters
Type | Name | Description |
---|---|---|
WMUserDTO | userDTO |