Database.IsMember(String) Database.IsMember(String) Database.IsMember(String) Method

Definition

Determines whether the specified group or role belongs to the database.

public:
 bool IsMember(System::String ^ groupOrRole);
public bool IsMember (string groupOrRole);
Public Function IsMember (groupOrRole As String) As Boolean
Parameters
groupOrRole
String String String

A String value that specifies the name of the group or role.

Returns

A Boolean value that specifies whether the specified group or role is associated with the database.

If True, the specified group or role belongs to the database.

If False, the specified group or role does not belong to the database.

Applies to