Search Results for

    Show / Hide Table of Contents

    Class OrganizationTenant

    Represents an organization tenant

    Inheritance
    System.Object
    OrganizationTenant
    Namespace: Simplic.Framework.Core
    Assembly: Simplic.Framework.Base.dll
    Syntax
    public class OrganizationTenant : Organization

    Constructors

    | Improve this Doc View Source

    OrganizationTenant()

    Initialize new organization tenant

    Declaration
    public OrganizationTenant()

    Properties

    | Improve this Doc View Source

    ComputedName

    Gets or sets the computed name

    Declaration
    public string ComputedName { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    OxSOrganizationId

    Gets or sets the OxS organization ID.

    Declaration
    public Guid? OxSOrganizationId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Guid>
    | Improve this Doc View Source

    SubTenants

    Gets all sub organization tenants

    Declaration
    public StatefulCollection<OrganizationTenant> SubTenants { get; }
    Property Value
    Type Description
    StatefulCollection<OrganizationTenant>
    | Improve this Doc View Source

    Tenants

    Gets the connected system tenants

    Declaration
    public StatefulCollection<Tenant> Tenants { get; }
    Property Value
    Type Description
    StatefulCollection<Tenant>
    | Improve this Doc View Source

    Users

    Gets the list of users that are attached to the current tenant

    Declaration
    public StatefulCollection<int> Users { get; }
    Property Value
    Type Description
    StatefulCollection<System.Int32>

    Methods

    | Improve this Doc View Source

    GetDbTenantByExternId(Guid)

    Gets a db tenant by its extern id

    Declaration
    public Tenant GetDbTenantByExternId(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique tenant id

    Returns
    Type Description
    Tenant

    Instance of a tenant if found

    | Improve this Doc View Source

    GetDbTenantByExternId(Nullable<Int32>)

    Gets a db tenant by is extern id

    Declaration
    public Tenant GetDbTenantByExternId(int? externId)
    Parameters
    Type Name Description
    System.Nullable<System.Int32> externId

    Extern id

    Returns
    Type Description
    Tenant

    Tenant instance if found

    | Improve this Doc View Source

    GetDbTenantByExternName(String)

    Gets a db tenant by its extern name

    Declaration
    public Tenant GetDbTenantByExternName(string externName)
    Parameters
    Type Name Description
    System.String externName

    Extern name

    Returns
    Type Description
    Tenant

    Db tenant if found

    | Improve this Doc View Source

    GetDbTenantBySystem(TenantSystemType)

    Gets a tenant by its system type

    Declaration
    public IList<Tenant> GetDbTenantBySystem(TenantSystemType systemType)
    Parameters
    Type Name Description
    TenantSystemType systemType

    Type instance

    Returns
    Type Description
    System.Collections.Generic.IList<Tenant>

    Gets a tenant list by its system type

    | Improve this Doc View Source

    GetDbTenantBySystemId(Guid)

    Gets a tenant by its system type

    Declaration
    public IList<Tenant> GetDbTenantBySystemId(Guid systemTypeId)
    Parameters
    Type Name Description
    System.Guid systemTypeId

    Type instance

    Returns
    Type Description
    System.Collections.Generic.IList<Tenant>

    Gets a tenant list by its system type

    | Improve this Doc View Source

    LoadSubTenants()

    Loads all connected (sub) organization tenants

    Declaration
    public StatefulCollection<OrganizationTenant> LoadSubTenants()
    Returns
    Type Description
    StatefulCollection<OrganizationTenant>

    Collection of tenants

    | Improve this Doc View Source

    LoadTenants()

    Load all system tenants

    Declaration
    public StatefulCollection<Tenant> LoadTenants()
    Returns
    Type Description
    StatefulCollection<Tenant>

    system tenants

    | Improve this Doc View Source

    LoadUsers()

    Load users that are assigned to the current tenant

    Declaration
    public StatefulCollection<int> LoadUsers()
    Returns
    Type Description
    StatefulCollection<System.Int32>

    List of users to load

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx