Click or drag to resize

RecroSec Class

RecroSec.
Inheritance Hierarchy
SystemObject
  Recrovit.RecroGridFramework.SecurityRecroSec

Namespace:  Recrovit.RecroGridFramework.Security
Assembly:  Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 1.7.3
Syntax
C#
public static class RecroSec

The RecroSec type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberAdministratorGroupName
Gets or sets the name of the Administrator group.
Public propertyStatic memberAnonymousId
Gets or sets the anonymous identifier.
Public propertyStatic memberCurrentUserId Obsolete.
Gets the current User identifier.
Public propertyStatic memberCurrentUserName Obsolete.
Gets the current user.
Public propertyStatic memberEnabled
Gets or sets a value indicating whether this RecroSec is enabled.
Public propertyStatic memberIsUserAdmin Obsolete.
Gets a value indicating whether current User is Administrator.
Public propertyStatic memberIsUserAuthenticated Obsolete.
Gets a value that indicates whether the User has been authenticated.
Public propertyStatic memberSingleUserMode
Define permission mode.
Public propertyStatic memberVirtualUserId Obsolete.
Gets the virtual User identifier.
Public propertyStatic memberVirtualUserName Obsolete.
Gets the virtual user.
Top
Methods
  NameDescription
Public methodStatic memberClearCacheAsync
Clears the cache.
Public methodStatic memberCurrentUserIsInRole(String) Obsolete.
Gets a value that indicates whether current User is in the specified Role.
Public methodStatic memberCurrentUserIsInRole(HttpContext, String)
Gets a value that indicates whether current User is in the specified Role.
Public methodStatic memberGetCurrentUser(HttpContext)
Gets the current user.
Public methodStatic memberGetCurrentUser(HttpContextBase)
Gets the current user.
Public methodStatic memberGetCurrentUserId(HttpContext)
Gets the current User identifier.
Public methodStatic memberGetCurrentUserId(HttpContextBase)
Gets the current User identifier.
Public methodStatic memberGetObjectPermission
Gets the object permission.
Public methodStatic memberGetPermissions(String, Int64, Object, NullableInt32) Obsolete.
Gets the permissions for the current User.
Public methodStatic memberGetPermissions(String, String, Object, NullableInt32) Obsolete.
Gets the permissions for the current User.
Public methodStatic memberGetPermissionsForUser(String, String, Int32, Object, NullableInt32)
Gets the permissions for the specified User.
Public methodStatic memberGetPermissionsForUser(String, String, String, Object, NullableInt32)
Gets the permissions for the specified User.
Public methodStatic memberGetRole
Gets the role.
Public methodStatic memberGetRolesForCurrentUser Obsolete.
Gets the roles for current User.
Public methodStatic memberGetRolesForCurrentUser(HttpContext)
Gets the roles for current User.
Public methodStatic memberGetRolesForUser
Gets the roles for User.
Public methodStatic memberGetUser
Gets the User.
Public methodStatic memberGetVirtualUser(HttpContext)
Gets the virtual user.
Public methodStatic memberGetVirtualUser(HttpContextBase)
Gets the virtual user.
Public methodStatic memberGetVirtualUserId(HttpContext)
Gets the virtual User identifier.
Public methodStatic memberGetVirtualUserId(HttpContextBase)
Gets the virtual User identifier.
Public methodStatic memberIsAdmin(String)
Gets a value indicating whether User is Administrator.
Public methodStatic memberIsAdmin(HttpContext)
Gets a value indicating whether current User is Administrator.
Public methodStatic memberIsAdmin(HttpContextBase)
Gets a value indicating whether current User is Administrator.
Public methodStatic memberIsAuthenticated
Gets a value that indicates whether the User has been authenticated.
Public methodStatic memberSetGetCurrentUserIdCallback
Set a custom method to get identifier of current User.
Public methodStatic memberUserIsInRole
Gets a value that indicates whether specified User is in the specified Role.
Top
Fields
  NameDescription
Public fieldStatic memberFnGetCurrentUserId
Set a custom method to get identifier of current User.
Public fieldStatic memberFnGetVirtualUserId
Set a custom method to get identifier of virtual User.
Public fieldStatic memberFnIsInRole
Set a custom method to get a value that indicates whether specified User is in the specified Role.
Top
Remarks
See Also