Search Results for

    Show / Hide Table of Contents

    Interface IOrganizationRepository

    organization repository definition

    Namespace: Simplic.TenantSystem
    Assembly: Simplic.TenantSystem.dll
    Syntax
    public interface IOrganizationRepository

    Methods

    | Improve this Doc View Source

    GetByName(String)

    Get an organization by its name

    Declaration
    Organization GetByName(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    Organization

    The tenant with the given name

    | Improve this Doc View Source

    GetByUserId(Int32)

    Get all assigned organizations

    Declaration
    IEnumerable<Organization> GetByUserId(int userId)
    Parameters
    Type Name Description
    System.Int32 userId

    Unique user id

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Organization>

    All tenants that are enabled for the given user

    | Improve this Doc View Source

    GetGroupsBySubOrganizationCount(Int32)

    Gets all groups which have n sub items/tenants

    Declaration
    IEnumerable<Organization> GetGroupsBySubOrganizationCount(int count)
    Parameters
    Type Name Description
    System.Int32 count

    Sub tenant count

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Organization>

    Enumerable of organizations

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