Metodo User.Grant

Include i membri protetti
Include i membri ereditati

Grants access to the specified permission for the specified grantees on the database user.

Questo membro è sottoposto a overload. Per informazioni complete su questo membro, inclusi sintassi, utilizzo ed esempi, fare clic su un nome nell'elenco di overload.

Elenco degli overload

  Nome Descrizione
Metodo pubblico Grant(ObjectPermissionSet, String) Grants access to the specified permission for the specified grantee on the database user.
Metodo pubblico Grant(ObjectPermissionSet, array<String[]) Grants access to the specified permission for the specified grantees on the database user.
Metodo pubblico Grant(ObjectPermissionSet, String, Boolean) Grants access to the specified permission and the ability to grant access to other users for the specified grantee on the database user.
Metodo pubblico Grant(ObjectPermissionSet, array<String[], Boolean) Grants access to the specified permission and the ability to grant access to other users for the specified grantees on the database user.
Metodo pubblico Grant(ObjectPermissionSet, String, Boolean, String) Grants access to the specified permission and the ability to grant access to other users for the specified grantee on the database user.
Metodo pubblico Grant(ObjectPermissionSet, array<String[], Boolean, String) Grants access to the specified permission and the ability to grant access to other users for the specified grantee on the database user under an assumed role.

In alto

Vedere anche

Riferimento

User Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo