IObjectPermission.Deny IObjectPermission.Deny IObjectPermission.Deny Method

Definition

Overloads

Deny(ObjectPermissionSet, String) Deny(ObjectPermissionSet, String) Deny(ObjectPermissionSet, String)

The Deny method negates granted user permission for one or more users or roles.

Deny(ObjectPermissionSet, String[]) Deny(ObjectPermissionSet, String[]) Deny(ObjectPermissionSet, String[])

The Deny method negates granted user permission for one or more users or roles.

Deny(ObjectPermissionSet, String, Boolean) Deny(ObjectPermissionSet, String, Boolean) Deny(ObjectPermissionSet, String, Boolean)

The Deny method negates granted user permission for one or more users or roles. Cascade specifies that permissions are denied from granteeName as well as any other security accounts granted permissions by granteeName. Use Cascade when denying a grantable permission.

Deny(ObjectPermissionSet, String[], Boolean) Deny(ObjectPermissionSet, String[], Boolean) Deny(ObjectPermissionSet, String[], Boolean)

The Deny method negates granted user permission for one or more users or roles. Cascade specifies that permissions are denied from granteeNames as well as any other security accounts granted permissions by granteeNames. Use Cascade when denying a grantable permission.

Deny(ObjectPermissionSet, String) Deny(ObjectPermissionSet, String) Deny(ObjectPermissionSet, String)

The Deny method negates granted user permission for one or more users or roles.

public void Deny (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions, string granteeName);
abstract member Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string -> unit
Public Sub Deny (permissions As ObjectPermissionSet, granteeName As String)

Parameters

granteeName
String String String

Deny(ObjectPermissionSet, String[]) Deny(ObjectPermissionSet, String[]) Deny(ObjectPermissionSet, String[])

The Deny method negates granted user permission for one or more users or roles.

public void Deny (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions, string[] granteeNames);
abstract member Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] -> unit
Public Sub Deny (permissions As ObjectPermissionSet, granteeNames As String())

Parameters

granteeNames
String[]

Deny(ObjectPermissionSet, String, Boolean) Deny(ObjectPermissionSet, String, Boolean) Deny(ObjectPermissionSet, String, Boolean)

The Deny method negates granted user permission for one or more users or roles. Cascade specifies that permissions are denied from granteeName as well as any other security accounts granted permissions by granteeName. Use Cascade when denying a grantable permission.

public void Deny (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions, string granteeName, bool cascade);
abstract member Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string * bool -> unit
Public Sub Deny (permissions As ObjectPermissionSet, granteeName As String, cascade As Boolean)

Parameters

granteeName
String String String

Deny(ObjectPermissionSet, String[], Boolean) Deny(ObjectPermissionSet, String[], Boolean) Deny(ObjectPermissionSet, String[], Boolean)

The Deny method negates granted user permission for one or more users or roles. Cascade specifies that permissions are denied from granteeNames as well as any other security accounts granted permissions by granteeNames. Use Cascade when denying a grantable permission.

public void Deny (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions, string[] granteeNames, bool cascade);
abstract member Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] * bool -> unit
Public Sub Deny (permissions As ObjectPermissionSet, granteeNames As String(), cascade As Boolean)

Parameters

granteeNames
String[]

Applies to