|  | RecroSec Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: Recrovit.RecroGridFramework.Security
 Syntax
Syntaxpublic static class RecroSec
The RecroSec type exposes the following members.
 Properties
Properties| Name | Description | |
|---|---|---|
|   | AdministratorGroupName | 
            Gets or sets the name of the Administrator group.
             | 
|   | AnonymousId | 
            Gets or sets the anonymous identifier.
             | 
|   | Enabled | 
            Gets or sets a value indicating whether this RecroSec is enabled.
             | 
|   | RoleScope | 
            Gets the role scope.
             | 
|   | SingleUserMode | 
            Define permission mode.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|   | ClearCacheAsync | 
            Clears the cache.
             | 
|   | CurrentUserIsInRole | 
            Gets a value that indicates whether current User is in the specified Role.
             | 
|   | GetCurrentUser | 
            Gets the current user.
             | 
|   | GetCurrentUserId | 
            Gets the current User identifier.
             | 
|   | GetObjectPermission | 
            Gets the object permission.
             | 
|   | 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 | 
            Gets the roles for current User.
             | 
|   | GetRolesForUser | 
            Gets the roles for User.
             | 
|   | GetUser | 
            Gets the User.
             | 
|   | GetVirtualUser | 
            Gets the virtual user.
             | 
|   | GetVirtualUserId | 
            Gets the virtual User identifier.
             | 
|   | IsAdmin(HttpContext) | 
            Gets a value indicating whether current User is Administrator.
             | 
|   | IsAdmin(String) | 
            Gets a value indicating whether 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.
             | 
 Fields
Fields| 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.
             | 
 Remarks
Remarks See Also
See Also