SetParentSystemUserRequest Class
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.
Contains the data needed to set a new parent system user (user) for the specified user.
public ref class SetParentSystemUserRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class SetParentSystemUserRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>]
type SetParentSystemUserRequest = class
inherit OrganizationRequest
Public NotInheritable Class SetParentSystemUserRequest
Inherits OrganizationRequest
- Inheritance
- Attributes
Remarks
This message request is deprecated. Consider using the UpdateRequest instead. For more information see Perform specialized operations using Update.
Message Availability
For this message to work, the caller must be connected to the server.
Usage
Pass an instance of this class to the Execute(OrganizationRequest) method, which returns an instance of SetParentSystemUserResponse.
Privileges and Access Rights
To perform this action, the caller must have privileges on the SystemUser entity and access rights on the records specified in the ParentId and UserId properties. For a list of the privileges required, see SetParentSystemUser message privileges.
Constructors
| SetParentSystemUserRequest() |
Initializes a new instance of the SetParentSystemUserRequest 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 |
| KeepChildUsers |
Gets or sets whether the child users are to be retained. Required. |
| Parameters |
Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes. (Inherited from OrganizationRequest) |
| ParentId |
Gets or sets the ID of the new parent user. Required. |
| RequestId |
Gets or sets the ID of an asynchronous operation (system job). Optional. (Inherited from OrganizationRequest) |
| RequestName |
Gets or sets the name of the request. Required, but is supplied by derived classes. (Inherited from OrganizationRequest) |
| UserId |
Gets or sets the ID of the user. Required. |