Partager via


Méthode User.Revoke

Inclure les membres protégés
Inclure les membres hérités

Revokes previously granted permissions from a grantee or grantees on the database user.

Ce membre est surchargé. Pour plus d'informations sur ce membre, notamment sur la syntaxe et l'utilisation, et pour visualiser des exemples, cliquez sur un nom dans la liste de surcharge.

Liste de surcharge

  Nom Description
Méthode publique Revoke(ObjectPermissionSet, String) Revokes previously granted permissions from a grantee on the database user.
Méthode publique Revoke(ObjectPermissionSet, array<String[]) Revokes previously granted permissions from a list of grantees on the database user.
Méthode publique Revoke(ObjectPermissionSet, String, Boolean, Boolean) Revokes previously granted permissions from a grantee on the database user and any other users to whom the grantee has granted access. The grantee is also given the ability to revoke other users' access.
Méthode publique Revoke(ObjectPermissionSet, array<String[], Boolean, Boolean) Revokes previously granted permissions from the grantees on the database user and any other users to whom the grantees have granted access. The grantees are also given the ability to revoke other users' access.
Méthode publique Revoke(ObjectPermissionSet, String, Boolean, Boolean, String) Revokes previously granted permissions from a grantee on the database user and any other users to whom the grantee has granted access. The grantee is also given the ability to revoke other users' access under an assumed role.
Méthode publique Revoke(ObjectPermissionSet, array<String[], Boolean, Boolean, String) Revokes previously granted permissions from grantees on the database user and any other users to whom the grantees have granted access. The grantees are also given the ability to revoke other users' access under an assumed role.

Haut de la page

Voir aussi

Référence

User Classe

Espace de noms Microsoft.SqlServer.Management.Smo