IColumnPermission.Deny Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Deny(ObjectPermissionSet, String, String[]) |
The Deny method negates granted user permission for one or more users or roles, for the specified columnNames. |
Deny(ObjectPermissionSet, String[], String[]) |
The Deny method negates granted user permission for one or more users or roles, for the specified columnNames. |
Deny(ObjectPermissionSet, String, String[], Boolean) |
The Deny method negates granted user permission for one or more users or roles, for the specified columnNames. 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[], String[], Boolean) |
The Deny method negates granted user permission for one or more users or roles, for the specified columnNames. 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, String[])
The Deny method negates granted user permission for one or more users or roles, for the specified columnNames.
public void Deny (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions, string granteeName, string[] columnNames);
abstract member Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string * string[] -> unit
Public Sub Deny (permissions As ObjectPermissionSet, granteeName As String, columnNames As String())
Parameters
- permissions
- ObjectPermissionSet
- granteeName
- String
- columnNames
- String[]
Applies to
Deny(ObjectPermissionSet, String[], String[])
The Deny method negates granted user permission for one or more users or roles, for the specified columnNames.
public void Deny (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions, string[] granteeNames, string[] columnNames);
abstract member Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] * string[] -> unit
Public Sub Deny (permissions As ObjectPermissionSet, granteeNames As String(), columnNames As String())
Parameters
- permissions
- ObjectPermissionSet
- granteeNames
- String[]
- columnNames
- String[]
Applies to
Deny(ObjectPermissionSet, String, String[], Boolean)
The Deny method negates granted user permission for one or more users or roles, for the specified columnNames. 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, string[] columnNames, bool cascade);
abstract member Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string * string[] * bool -> unit
Public Sub Deny (permissions As ObjectPermissionSet, granteeName As String, columnNames As String(), cascade As Boolean)
Parameters
- permissions
- ObjectPermissionSet
- granteeName
- String
- columnNames
- String[]
- cascade
- Boolean
Applies to
Deny(ObjectPermissionSet, String[], String[], Boolean)
The Deny method negates granted user permission for one or more users or roles, for the specified columnNames. 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, string[] columnNames, bool cascade);
abstract member Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] * string[] * bool -> unit
Public Sub Deny (permissions As ObjectPermissionSet, granteeNames As String(), columnNames As String(), cascade As Boolean)
Parameters
- permissions
- ObjectPermissionSet
- granteeNames
- String[]
- columnNames
- String[]
- cascade
- Boolean