Share via


Login.Deny Method

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

Remarks

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

Overload List

Name Description
Login.Deny (ObjectPermissionSet, String)
Denies the specified set of permissions for the specified grantee on the login account.
Login.Deny (ObjectPermissionSet, String[])
Denies the specified set of permissions for the specified grantees on the logon.
Login.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.
Login.Deny (ObjectPermissionSet, 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.

See Also

Reference

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

Other Resources

Granting, Revoking, and Denying Permissions
Managing Users, Roles, and Logins
Principals
CREATE LOGIN (Transact-SQL)