![]() | RecroSec Class |
Namespace: Recrovit.RecroGridFramework.Security
public static class RecroSec
The RecroSec type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AdministratorGroupName |
Gets or sets the name of the Administrator group.
|
![]() ![]() | AnonymousId |
Gets or sets the anonymous identifier.
|
![]() ![]() | CurrentUserId | Obsolete.
Gets the current User identifier.
|
![]() ![]() | CurrentUserName | Obsolete.
Gets the current user.
|
![]() ![]() | Enabled |
Gets or sets a value indicating whether this RecroSec is enabled.
|
![]() ![]() | IsUserAdmin | Obsolete.
Gets a value indicating whether current User is Administrator.
|
![]() ![]() | IsUserAuthenticated | Obsolete.
Gets a value that indicates whether the User has been authenticated.
|
![]() ![]() | SingleUserMode |
Define permission mode.
|
![]() ![]() | VirtualUserId | Obsolete.
Gets the virtual User identifier.
|
![]() ![]() | VirtualUserName | Obsolete.
Gets the virtual user.
|
Name | Description | |
---|---|---|
![]() ![]() | ClearCacheAsync |
Clears the cache.
|
![]() ![]() | CurrentUserIsInRole(String) | Obsolete.
Gets a value that indicates whether current User is in the specified Role.
|
![]() ![]() | CurrentUserIsInRole(HttpContext, String) |
Gets a value that indicates whether current User is in the specified Role.
|
![]() ![]() | GetCurrentUser(HttpContext) |
Gets the current user.
|
![]() ![]() | GetCurrentUser(HttpContextBase) |
Gets the current user.
|
![]() ![]() | GetCurrentUserId(HttpContext) |
Gets the current User identifier.
|
![]() ![]() | GetCurrentUserId(HttpContextBase) |
Gets the current User identifier.
|
![]() ![]() | GetObjectPermission |
Gets the object permission.
|
![]() ![]() | GetPermissions(String, Int64, Object, NullableInt32) | Obsolete.
Gets the permissions for the current User.
|
![]() ![]() | GetPermissions(String, String, Object, NullableInt32) | Obsolete.
Gets the permissions for the current User.
|
![]() ![]() | GetPermissionsForUser(String, String, Int32, Object, NullableInt32) |
Gets the permissions for the specified User.
|
![]() ![]() | GetPermissionsForUser(String, String, String, Object, NullableInt32) |
Gets the permissions for the specified User.
|
![]() ![]() | GetRole |
Gets the role.
|
![]() ![]() | GetRolesForCurrentUser | Obsolete.
Gets the roles for current User.
|
![]() ![]() | GetRolesForCurrentUser(HttpContext) |
Gets the roles for current User.
|
![]() ![]() | GetRolesForUser |
Gets the roles for User.
|
![]() ![]() | GetUser |
Gets the User.
|
![]() ![]() | GetVirtualUser(HttpContext) |
Gets the virtual user.
|
![]() ![]() | GetVirtualUser(HttpContextBase) |
Gets the virtual user.
|
![]() ![]() | GetVirtualUserId(HttpContext) |
Gets the virtual User identifier.
|
![]() ![]() | GetVirtualUserId(HttpContextBase) |
Gets the virtual User identifier.
|
![]() ![]() | IsAdmin(String) |
Gets a value indicating whether User is Administrator.
|
![]() ![]() | IsAdmin(HttpContext) |
Gets a value indicating whether current User is Administrator.
|
![]() ![]() | IsAdmin(HttpContextBase) |
Gets a value indicating whether current User is Administrator.
|
![]() ![]() | IsAuthenticated |
Gets a value that indicates whether the User has been authenticated.
|
![]() ![]() | SetGetCurrentUserIdCallback |
Set a custom method to get identifier of current User.
|
![]() ![]() | UserIsInRole |
Gets a value that indicates whether specified User is in the specified Role.
|
Name | Description | |
---|---|---|
![]() ![]() | FnGetCurrentUserId |
Set a custom method to get identifier of current User.
|
![]() ![]() | FnGetVirtualUserId |
Set a custom method to get identifier of virtual User.
|
![]() ![]() | FnIsInRole |
Set a custom method to get a value that indicates whether specified User is in the specified Role.
|