AddDeploymentAdministratorRequest Class
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Contains the data that is needed to add a deployment administrator. The user must already exist in Active Directory.
Assembly: Microsoft.Xrm.Sdk.Deployment (in Microsoft.Xrm.Sdk.Deployment.dll)
Microsoft.Xrm.Sdk.Deployment.DeploymentServiceRequest
Microsoft.Xrm.Sdk.Deployment.AddDeploymentAdministratorRequest
| Name | Description | |
|---|---|---|
![]() | AddDeploymentAdministratorRequest() | Initializes a new instance of the AddDeploymentAdministratorRequest class. |
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Usage
Pass an instance of this class to the Execute 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.
// The user must already exist in AD. AddDeploymentAdministratorRequest request = new AddDeploymentAdministratorRequest(); request.Name = Config.AdminDomain + "\\" + userName; _deploymentService.Execute(request);
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright


