Share via


Login.Deny Method

Include Protected Members
Include Inherited Members

Denies the specified set of permissions for the specified grantees on the login account.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Deny(ObjectPermissionSet, String) Denies the specified set of permissions for the specified grantee on the login account.
Public method Deny(ObjectPermissionSet, array<String[]) Denies the specified set of permissions for the specified grantees on the logon.
Public method Deny(ObjectPermissionSet, String, Boolean) Denies the specified set of permissions for the specified grantee and other users that the grantee granted the specified set of permissions on the logon.
Public method Deny(ObjectPermissionSet, array<String[], Boolean) Denies the specified set of permissions for the specified grantees and other users that the grantee granted the specified set of permissions on the logon.

Top

See Also

Reference

Login Class

Microsoft.SqlServer.Management.Smo Namespace