Check if the currently active user is in role passed as a parameter.
Namespace: MonoSoftware.MonoX.UtilitiesAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public static bool IsUserInRole(
string roleName
) |
Visual Basic |
---|
Public Shared Function IsUserInRole (
roleName As String
) As Boolean |
Visual C++ |
---|
public:
static bool IsUserInRole(
String^ roleName
) |
F# |
---|
static member IsUserInRole :
roleName : string -> bool
|
Return Value
Type:
BooleanTrue if the user is in role is, false if it is not.
See Also