Class HttpClientUserRoleFinder
Inheritance
System.Object
HttpClientUserRoleFinder
Implements
ITransientDependency
Namespace: Volo.Abp.Identity
Assembly: Volo.Abp.Identity.HttpApi.Client.dll
Syntax
public class HttpClientUserRoleFinder : IUserRoleFinder, ITransientDependency
Constructors
HttpClientUserRoleFinder(IIdentityUserAppService)
Declaration
public HttpClientUserRoleFinder(IIdentityUserAppService userAppService)
Parameters
| Type | Name | Description |
|---|---|---|
| IIdentityUserAppService | userAppService |
Properties
_userAppService
Declaration
protected IIdentityUserAppService _userAppService { get; }
Property Value
| Type | Description |
|---|---|
| IIdentityUserAppService |
Methods
GetRolesAsync(Guid)
Declaration
public virtual Task<string[]> GetRolesAsync(Guid userId)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | userId |
Returns
| Type | Description |
|---|---|
| Task<System.String[]> |
Implements
ITransientDependency