Class WMOrganization
Implements organizations as instances of a WMPrincipal. Organizations can have access rights granted to them, which many be inherited by the WMUsers assigned to them.
Inherited Members
Namespace: Quantellia.WMServer.Auth
Assembly: WMServer.dll
Syntax
public class WMOrganization : WMPrincipal, IDbEntity, IWMEntity, IPolicyAssignable
Constructors
WMOrganization()
Default constructor that sets the ID to a new GUID.
Declaration
public WMOrganization()
WMOrganization(string)
Constructor that initializes the ID.
Declaration
public WMOrganization(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id |
Methods
Get(string, AuthDbContext?)
Declaration
public static Task<WMOrganization> Get(string id, AuthDbContext? context = null)
Parameters
Type | Name | Description |
---|---|---|
string | id | |
AuthDbContext | context |
Returns
Type | Description |
---|---|
Task<WMOrganization> |