AddDeploymentAdministratorRequest Class
Applies To: Microsoft Dynamics CRM 2013, Microsoft 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)
Syntax
'Declaration
<DataContractAttribute(Name:="AddDeploymentAdministratorRequest", Namespace:="https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")> _
<DebuggerStepThroughAttribute> _
<GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")> _
Public Class AddDeploymentAdministratorRequest
Inherits DeploymentServiceRequest
[DataContractAttribute(Name="AddDeploymentAdministratorRequest", Namespace="https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
[DebuggerStepThroughAttribute]
[GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
public class AddDeploymentAdministratorRequest : DeploymentServiceRequest
Example
// 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 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 PowerShel.
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Sdk.Deployment.DeploymentServiceRequest
Microsoft.Xrm.Sdk.Deployment.AddDeploymentAdministratorRequest
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.
Platforms
Development Platforms
Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)
Target Platforms
Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Smart Phone,Windows Server 2003,Windows XP Professional,Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions), ,Windows 8 (All Versions)
Change History
See Also
Reference
AddDeploymentAdministratorRequest Members
Microsoft.Xrm.Sdk.Deployment Namespace
AddDeploymentAdministratorResponse
Other Resources
Deployment Web Service Messages
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.