共用方式為


CreateAsyncJobToRevokeInheritedAccessRequest Class

Definition

Contains the data that is needed to create and execute an asynchronous cleanup job to revoke inherited access granted through cascading inheritance.

public ref class CreateAsyncJobToRevokeInheritedAccessRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class CreateAsyncJobToRevokeInheritedAccessRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
type CreateAsyncJobToRevokeInheritedAccessRequest = class
    inherit OrganizationRequest
Public NotInheritable Class CreateAsyncJobToRevokeInheritedAccessRequest
Inherits OrganizationRequest
Inheritance
CreateAsyncJobToRevokeInheritedAccessRequest
Attributes

Remarks

For the Web API use the CreateAsyncJobToRevokeInheritedAccess action.

When an entity relationship that is using Reparent or Share is changed from Cascade All to Cascade None, a cleanup job can be run to remove access that was granted through cascading inheritance. This cleanup will not impact any user that was directly granted access to an entity.

Learn how to clean up inherited access

Usage

Pass an instance of this class to the Execute(OrganizationRequest) method, which returns an instance of the CreateAsyncJobToRevokeInheritedAccessResponse class.

Privileges and Access Rights

To perform this action, the caller must have System Administrator privileges.

Constructors

CreateAsyncJobToRevokeInheritedAccessRequest()

Initializes a new instance of the CreateAsyncJobToRevokeInheritedAccessRequest class.

Properties

ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
RelationshipSchema

Gets or sets the schema name of the entity relationship.

RequestId

Gets or sets the ID of the request. Optional.

(Inherited from OrganizationRequest)
RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)

Applies to