Aracılığıyla paylaş


User.Deny Method

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
User.Deny (ObjectPermissionSet, String)
Denies access to the specified permission for the specified grantee on the database user.
User.Deny (ObjectPermissionSet, String[])
Denies access to the specified permission for the specified grantees on the database user.
User.Deny (ObjectPermissionSet, String, Boolean)
Denies access to the specified permission for the specified grantee and other users that the grantee granted access on the database user.
User.Deny (ObjectPermissionSet, String[], Boolean)
Denies access to the specified permission for the specified grantees on the database user.

See Also

Reference

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

Other Resources

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