RecroSecCurrentUserIsInRole Method
Gets a value that indicates whether current User is in the specified Role.
Namespace: Recrovit.RecroGridFramework.SecurityAssembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 8.0.0.24.0403.1
public static bool CurrentUserIsInRole(
HttpContext httpContext,
string roleName
)
- httpContext HttpContext
- The HTTP context.
- roleName String
- Name of the Role.
Booleantrue if User is in Role; otherwise
false.