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.1.0.23.1204.1+9d8b98a22c49d038b4e3323bfe56aa1d0eabe7ae
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.