Interface IUserRoleFinder
Namespace: Volo.Abp.Identity
Assembly: Volo.Abp.Identity.Domain.Shared.dll
Syntax
public interface IUserRoleFinder
Methods
GetRoleNamesAsync(Guid)
Declaration
Task<string[]> GetRoleNamesAsync(Guid userId)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | userId |
Returns
| Type | Description |
|---|---|
| Task<string[]> |
GetRolesAsync(Guid)
Declaration
[Obsolete("Use GetRoleNamesAsync instead.")]
Task<string[]> GetRolesAsync(Guid userId)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | userId |
Returns
| Type | Description |
|---|---|
| Task<string[]> |