Freigeben über


User.Revoke Method

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Überladungsliste

Name Description
User.Revoke (ObjectPermissionSet, String)
Revokes previously granted permissions from a grantee on the database user.
User.Revoke (ObjectPermissionSet, String[])
Revokes previously granted permissions from a list of grantees on the database user.
User.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.
User.Revoke (ObjectPermissionSet, 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.
User.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.
User.Revoke (ObjectPermissionSet, 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.

Siehe auch

Verweis

User Class
User Members
Microsoft.SqlServer.Management.Smo Namespace

Andere Ressourcen

Granting, Revoking, and Denying Permissions
Managing Users, Roles, and Logins