Visual Guard Class Library Documentation

VGRoles.IsUserInRole Method

Gets a value indicating whether the currently logged-on user is in the specified role.

Overload List

Gets a value indicating whether the currently logged-on user is in the specified role.

public static bool IsUserInRole(Guid);

Gets a value indicating whether the specified user is in the specified role.

public static bool IsUserInRole(NTAccount,String);

Gets a value indicating whether the currently logged-on user is in the specified role.

public static bool IsUserInRole(String);

Gets a value indicating whether the specified user is in the specified role.

public static bool IsUserInRole(String,String);

See Also

VGRoles Class | Novalys.VisualGuard.Security.Membership Namespace | RepositoryId