Class UserServiceExtensions
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Extensions
Assembly: Umbraco.Core.dll
Syntax
public static class UserServiceExtensions
Methods
View SourceGetRequiredUserAsync(IUserService, Guid)
Declaration
public static async Task<IUser> GetRequiredUserAsync(this IUserService userService, Guid key)
Parameters
Type | Name | Description |
---|---|---|
IUserService | userService | |
Guid | key |
Returns
Type | Description |
---|---|
Task<IUser> |