AddDeploymentAdministratorRequest 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 that is needed to add a deployment administrator. The user must already exist in Active Directory.
public ref class AddDeploymentAdministratorRequest : Microsoft::Xrm::Sdk::Deployment::DeploymentServiceRequest
[System.CodeDom.Compiler.GeneratedCode("System.Runtime.Serialization", "4.0.0.0")]
[System.Diagnostics.DebuggerStepThrough]
[System.Runtime.Serialization.DataContract(Name="AddDeploymentAdministratorRequest", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
public class AddDeploymentAdministratorRequest : Microsoft.Xrm.Sdk.Deployment.DeploymentServiceRequest
[<System.CodeDom.Compiler.GeneratedCode("System.Runtime.Serialization", "4.0.0.0")>]
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Runtime.Serialization.DataContract(Name="AddDeploymentAdministratorRequest", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>]
type AddDeploymentAdministratorRequest = class
inherit DeploymentServiceRequest
Public Class AddDeploymentAdministratorRequest
Inherits DeploymentServiceRequest
- Inheritance
- Attributes
Examples
// The user must already exist in AD.
AddDeploymentAdministratorRequest request = new AddDeploymentAdministratorRequest();
request.Name = Config.AdminDomain + "\\" + userName;
_deploymentService.Execute(request);
Remarks
Usage
Pass an instance of this class to the Execute(DeploymentServiceRequest) method, which returns an instance of AddDeploymentAdministratorResponse.
Notes for Callers
You can also use the New-CrmDeploymentAdministratorWindows PowerShell command. For more information, see Administer the deployment using Windows PowerShell.
Constructors
AddDeploymentAdministratorRequest() |
Initializes a new instance of the AddDeploymentAdministratorRequest class. |
Properties
ExtensionData |
Gets or sets the structure that contains extra data. (Inherited from DeploymentServiceRequest) |
Name |
Gets or sets the name of the deployment administrator to be added. Required. |