Share via


IObjectPermission Interface

Definition

Methods for enumerating, granting, and denying permissions on an object.

public interface IObjectPermission
type IObjectPermission = interface
Public Interface IObjectPermission
Derived

Methods

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)

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

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[])

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

EnumObjectPermissions()

Returns an array of Permission objects identifying all explicitly granted object access permissions.

EnumObjectPermissions(ObjectPermissionSet)

Returns an array of Permission objects identifying explicitly granted object access permissions. The permissions parameter specifies the object access permissions enumerated for the referenced object.

EnumObjectPermissions(String, ObjectPermissionSet)

Returns an array of Permission objects identifying explicitly granted object access permissions for the grantee specified with the granteeName parameter, restricted to the object access permissions specified with the privilegeTypes parameter.

EnumObjectPermissions(String)

Returns an array of Permission objects identifying explicitly granted object access permissions for the grantee specified with the granteeName parameter.

Grant(ObjectPermissionSet, String, Boolean, String)

The Grant method assigns permissions to one or more users or roles. When grantGrant is true, the grantee(s) specified are granted the ability to execute the GRANT statement referencing the object. Use the asRole argument to specify the role under which permission to execute the grant.

Grant(ObjectPermissionSet, String, Boolean)

The Grant method assigns permissions to one or more users or roles. When grantGrant is true, the grantee(s) specified are granted the ability to execute the GRANT statement referencing the object.

Grant(ObjectPermissionSet, String)

The Grant method assigns permissions to one or more users or roles.

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

The Grant method assigns permissions to one or more users or roles. When grantGrant is true, the grantee(s) specified are granted the ability to execute the GRANT statement referencing the object. Use the asRole argument to specify the role under which permission to execute the grant.

Grant(ObjectPermissionSet, String[], Boolean)

The Grant method assigns permissions to one or more users or roles. When grantGrant is true, the grantee(s) specified are granted the ability to execute the GRANT statement referencing the object.

Grant(ObjectPermissionSet, String[])

The Grant method assigns permissions to one or more users or roles.

Revoke(ObjectPermissionSet, String, Boolean, Boolean, String)

Removes a previously granted or denied permission for the specified granteeName. When revokeGrant is true, the ability to extend permissions is revoked. Cascade specifies that permissions are removed from granteeName as well as any other security accounts granted permissions by granteeName. Use Cascade when revoking a grantable permission. Use the AsRole argument to specify the role under which permission to execute the revoke.

Revoke(ObjectPermissionSet, String)

Removes a previously granted or denied permission for the specified granteeName.

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

Removes a previously granted or denied permission for the specified granteeNames. When revokeGrant is true, the ability to extend permissions is revoked. Cascade specifies that permissions are removed from granteeNames as well as any other security accounts granted permissions by granteeNames. Use Cascade when revoking a grantable permission.

Revoke(ObjectPermissionSet, String[])

Removes a previously granted or denied permission for the specified granteeNames.

Applies to