Click or drag to resize

RecroSec Methods

The RecroSec type exposes the following members.

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
See Also