Method | Description | |
---|---|---|
SetCurrentUserRoles ( this httpContext ) : IPrincipal | ||
SetCurrentUserRoles ( this httpContext, UserGroup userGroup ) : IPrincipal | ||
roles ( this principal ) : string[] | ||
setThreadPrincipalWithRoles ( this userGroup ) : IPrincipal |
public static SetCurrentUserRoles ( this httpContext ) : IPrincipal | ||
httpContext | this | |
return | IPrincipal |
public static SetCurrentUserRoles ( this httpContext, UserGroup userGroup ) : IPrincipal | ||
httpContext | this | |
userGroup | UserGroup | |
return | IPrincipal |
public static roles ( this principal ) : string[] | ||
principal | this | |
return | string[] |
public static setThreadPrincipalWithRoles ( this userGroup ) : IPrincipal | ||
userGroup | this | |
return | IPrincipal |