Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IUserIdKeyResolver

    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IUserIdKeyResolver

    Methods

    View Source

    GetAsync(Guid)

    Tries to resolve a user key to a user id without fetching the entire user.

    Declaration
    Task<int> GetAsync(Guid key)
    Parameters
    Type Name Description
    Guid key

    The key of the user.

    Returns
    Type Description
    Task<System.Int32>

    The id of the user, null if the user doesn't exist.

    View Source

    GetAsync(Int32)

    Tries to resolve a user id to a user key without fetching the entire user.

    Declaration
    Task<Guid> GetAsync(int id)
    Parameters
    Type Name Description
    System.Int32 id

    The id of the user.

    Returns
    Type Description
    Task<Guid>

    The key of the user, null if the user doesn't exist.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • GetAsync(Guid)
      • GetAsync(Int32)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX