Class HttpClientUserRoleFinder
Inheritance
HttpClientUserRoleFinder
Assembly: Volo.Abp.Identity.HttpApi.Client.dll
Syntax
[Dependency(TryRegister = true)]
public class HttpClientUserRoleFinder : IUserRoleFinder, ITransientDependency
Constructors
HttpClientUserRoleFinder(IIdentityUserAppService, IIdentityUserIntegrationService)
Declaration
public HttpClientUserRoleFinder(IIdentityUserAppService userAppService, IIdentityUserIntegrationService userIntegrationService)
Parameters
Properties
_userAppService
Declaration
protected IIdentityUserAppService _userAppService { get; }
Property Value
_userIntegrationService
Declaration
protected IIdentityUserIntegrationService _userIntegrationService { get; }
Property Value
Methods
GetRoleNamesAsync(Guid)
Declaration
public Task<string[]> GetRoleNamesAsync(Guid userId)
Parameters
Type |
Name |
Description |
Guid |
userId |
|
Returns
GetRolesAsync(Guid)
Declaration
[Obsolete("Use GetRoleNamesAsync instead.")]
public virtual Task<string[]> GetRolesAsync(Guid userId)
Parameters
Type |
Name |
Description |
Guid |
userId |
|
Returns
Implements
Extension Methods