Search Results for

    Show / Hide Table of Contents

    Interface ILocalRoleManager

    Namespace: ImageVault.Web.Security
    Assembly: ImageVault.Web.dll
    Syntax
    public interface ILocalRoleManager

    Methods

    AddUserToRolesAsync(String, String[])

    Declaration
    Task AddUserToRolesAsync(string userId, string[] roleIds)
    Parameters
    Type Name Description
    System.String userId
    System.String[] roleIds
    Returns
    Type Description
    System.Threading.Tasks.Task

    CreateRoleAsync(String)

    Declaration
    Task CreateRoleAsync(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Threading.Tasks.Task

    DeleteRoleAsync(String)

    Declaration
    Task DeleteRoleAsync(string roleId)
    Parameters
    Type Name Description
    System.String roleId
    Returns
    Type Description
    System.Threading.Tasks.Task

    GetAllRolesAsync()

    Declaration
    Task<IList<ILocalRole>> GetAllRolesAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.IList<ILocalRole>>

    GetMembersInRoleAsync(String)

    Declaration
    Task<string[]> GetMembersInRoleAsync(string roleId)
    Parameters
    Type Name Description
    System.String roleId
    Returns
    Type Description
    System.Threading.Tasks.Task<System.String[]>

    GetRoleAsync(String)

    Declaration
    Task<ILocalRole> GetRoleAsync(string roleId)
    Parameters
    Type Name Description
    System.String roleId
    Returns
    Type Description
    System.Threading.Tasks.Task<ILocalRole>

    RemoveUserFromRolesAsync(String, String[])

    Declaration
    Task RemoveUserFromRolesAsync(string userId, string[] roleIds)
    Parameters
    Type Name Description
    System.String userId
    System.String[] roleIds
    Returns
    Type Description
    System.Threading.Tasks.Task
    In This Article
    Back to top (c) Meriworks 2002-2022