Click or drag to resize

RecroSecCurrentUserIsInRole Method (HttpContext, String)

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

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

Parameters

httpContext
Type: System.WebHttpContext
The HTTP context.
roleName
Type: SystemString
Name of the Role.

Return Value

Type: Boolean
true if User is in Role; otherwise false.
See Also