Class CurrentUserExtensions
Inheritance
System.Object
CurrentUserExtensions
Assembly: Volo.Abp.Security.dll
Syntax
public static class CurrentUserExtensions : object
Methods
FindClaimValue(ICurrentUser, String)
Declaration
public static string FindClaimValue(this ICurrentUser currentUser, string claimType)
Parameters
Type |
Name |
Description |
ICurrentUser |
currentUser |
|
System.String |
claimType |
|
Returns
Type |
Description |
System.String |
|
FindClaimValue<T>(ICurrentUser, String)
Declaration
public static T FindClaimValue<T>(this ICurrentUser currentUser, string claimType)
where T : struct
Parameters
Type |
Name |
Description |
ICurrentUser |
currentUser |
|
System.String |
claimType |
|
Returns
Type Parameters
GetId(ICurrentUser)
Declaration
public static Guid GetId(this ICurrentUser currentUser)
Parameters
Returns