docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IRoleProvider

    The interface to validate and list roles assigned to a user.

    Namespace: Unity.Cloud.Identity
    Assembly: Unity.Cloud.Identity.dll
    Syntax
    public interface IRoleProvider

    Methods

    ListPermissionsAsync()

    Lists permissions assigned to a user.

    Declaration
    Task<IEnumerable<Permission>> ListPermissionsAsync()
    Returns
    Type Description
    Task<IEnumerable<Permission>>

    A task that once completed returns the list of permissions assigned to a user.

    ListRolesAsync()

    Lists roles assigned to a user.

    Declaration
    Task<IEnumerable<Role>> ListRolesAsync()
    Returns
    Type Description
    Task<IEnumerable<Role>>

    A task that once completed returns the list of roles assigned to a user.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)