| RecroSecCurrentUserIsInRole Method (String) |
Note: This API is now obsolete.
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 [ObsoleteAttribute("Use instead CurrentUserIsInRole(HttpContext httpContext, string roleName)")]
public static bool CurrentUserIsInRole(
string roleName
)
Parameters
- roleName
- Type: SystemString
Name of the Role.
Return Value
Type:
Booleantrue if User is in Role; otherwise
false.
See Also