Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserPermissionResource

    A resource used for the .

    Inheritance
    System.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(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.

    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.

    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • UserKeys
    • Methods
      • WithKeys(Guid)
      • WithKeys(IEnumerable<Guid>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX