Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserPermissionResource

    A resource used for the UserPermissionHandler.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Security.Authorization
    Assembly: Umbraco.Core.dll
    Syntax
    public class UserPermissionResource : IPermissionResource

    Properties

    View Source

    UserKeys

    Gets the user keys.

    Declaration
    public IEnumerable<Guid> UserKeys { get; }
    Property Value
    Type Description
    IEnumerable<Guid>

    Methods

    View Source

    WithKeys(IEnumerable<Guid>)

    Creates a UserPermissionResource with the specified keys.

    Declaration
    public static UserPermissionResource WithKeys(IEnumerable<Guid> userKeys)
    Parameters
    Type Name Description
    IEnumerable<Guid> userKeys

    The keys of the users.

    Returns
    Type Description
    UserPermissionResource

    An instance of UserPermissionResource.

    View Source

    WithKeys(Guid)

    Creates a UserPermissionResource with the specified keys.

    Declaration
    public static UserPermissionResource WithKeys(Guid userKey)
    Parameters
    Type Name Description
    Guid userKey

    The key of the user.

    Returns
    Type Description
    UserPermissionResource

    An instance of UserPermissionResource.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX