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.3.1.24.0524.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.