Search Results for

    Show / Hide Table of Contents

    Interface IAccountGroupRepository

    Репозиторий групп учётных записей.

    Namespace: Lers.Administration
    Assembly: Lers.Server.System.dll
    Syntax
    public interface IAccountGroupRepository

    Methods

    GetByTrusteeId(EntityIdentifier)

    Возвращает группу объектов по идентификатору объекта безопасности.

    Declaration
    AccountGroup GetByTrusteeId(EntityIdentifier trusteeId)
    Parameters
    Type Name Description
    EntityIdentifier trusteeId
    Returns
    Type Description
    Lers.Models.AccountGroup

    GetGroupListByAccount(IAccount)

    Получает список групп учетных записей по идентификатору учетной записи.

    Declaration
    ICollection<AccountGroup> GetGroupListByAccount(IAccount account)
    Parameters
    Type Name Description
    IAccount account

    Учётная запись.

    Returns
    Type Description
    ICollection<Lers.Models.AccountGroup>

    Возвращает массив групп учётных записей.

    GetList()

    Получает список групп учётных записей.

    Declaration
    IList<AccountGroup> GetList()
    Returns
    Type Description
    IList<Lers.Models.AccountGroup>

    GetMembership()

    Возвращает членство всех учётных записей в группах.

    Declaration
    IList<AccountGroupMembership> GetMembership()
    Returns
    Type Description
    IList<Lers.Models.AccountGroupMembership>

    IsServiceman(Int32)

    Определяет, состоит ли учётная запись в группе обслуживающих.

    Declaration
    bool IsServiceman(int accountId)
    Parameters
    Type Name Description
    System.Int32 accountId

    Идентификатор учётной записи, которую необходимо проверить.

    Returns
    Type Description
    System.Boolean

    true если учётная запись состоит в группе обслуживающих, иначе false.

    In This Article
    Back to top ©2018 - 2026, ООО "ЛЭРС УЧЁТ"