Udostępnij za pośrednictwem


RemoveParentRequest Class

Definition

Contains the data that is needed to remove the parent for a system user (user) record.

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

Remarks

For the Web API use the RemoveParent action.

Usage

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

Privileges and Access Rights

To perform this action, the caller must have access rights on the role record. For a complete list of the privileges required, see RemoveParent message privileges.

Constructors

RemoveParentRequest()

Initializes a new instance of the RemoveParentRequest 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)
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)
Target

Gets or sets the target systemuser (user) record for the operation.

Applies to

See also