SimpleRoleProvider.RoleExists(String) Method

Definition

Returns a value that indicates whether a specified role exists.

public override bool RoleExists (string roleName);
override this.RoleExists : string -> bool
Public Overrides Function RoleExists (roleName As String) As Boolean

Parameters

roleName
String

The name of the role.

Returns

true if the role exists; otherwise, false.

Applies to