Login.AddToRole(String) Login.AddToRole(String) Login.AddToRole(String) Method

Definition

Adds the login account to a SQL Server role.

public:
 void AddToRole(System::String ^ role);
public void AddToRole (string role);
Public Sub AddToRole (role As String)
Parameters
role
String String String

A String value that specifies the name of the role.

Examples

Managing Users, Roles, and Logins

Applies to