AddDeploymentAdministratorRequest Class


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.

Namespace:   Microsoft.Xrm.Sdk.Deployment
Assembly:  Microsoft.Xrm.Sdk.Deployment (in Microsoft.Xrm.Sdk.Deployment.dll)

Inheritance Hierarchy



[DataContractAttribute(Name = "AddDeploymentAdministratorRequest", 
    Namespace = "")]
public class AddDeploymentAdministratorRequest : DeploymentServiceRequest
<DataContractAttribute(Name := "AddDeploymentAdministratorRequest",
    Namespace := "")>
Public Class AddDeploymentAdministratorRequest
    Inherits DeploymentServiceRequest


Name Description
System_CAPS_pubmethod AddDeploymentAdministratorRequest()

Initializes a new instance of the AddDeploymentAdministratorRequest class.


Name Description
System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.(Inherited from DeploymentServiceRequest.)

System_CAPS_pubproperty Name

Gets or sets the name of the deployment administrator to be added. Required.


Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)



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;


Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Sdk.Deployment Namespace
Deployment web service messages

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright