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: 6.2.0.24.0102.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.