RecroSecCurrentUserIsInRole Method

Gets a value that indicates whether current User is in the specified Role.

Definition

Namespace: Recrovit.RecroGridFramework.Security
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 6.4.0.24.0124.1
C#
public static bool CurrentUserIsInRole(
	HttpContext httpContext,
	string roleName
)

Parameters

httpContext  HttpContext
The HTTP context.
roleName  String
Name of the Role.

Return Value

Boolean
true if User is in Role; otherwise false.

See Also