Managed CDI::ModifyOrganization
The ModifyOrganization method modifies the CDI settings for a customer organization.
Arguments
The ModifyOrganization method has the following input parameters.
Argument | Required | Description |
---|---|---|
<path> |
Yes |
The LDAP path of the organization in the Service Provider domain. |
<preferredDomainController> |
Yes |
The name of the preferred domain controller in the Service Provider domain. |
<remoteNetBiosDomainName> |
No |
The NetBIOS name of the remote domain. |
<newRemoteFQDNDomainName> |
No |
The new FQDN of the remote domain. |
<remotePreferredDomainController> |
No |
The remote preferred domain controller. |
<remoteAdministratorContact> |
No |
The email address of the remote administrator contact. |
Output Arguments
The ModifyOrganization method generates no output parameters.
Remarks
Method Syntax
The ModifyOrganization method has the following syntax:
public string ModifyOrganization(
string path,
string preferredDomainController,
string remoteNetBiosDomainName,
string newRemoteFQDNDomainName,
string remotePreferredDomainController,
string remoteAdministratorContact,
bool sendCredentials)
Sample Code
Typical C# Usage
//Get user name and password.
string userName = this.Request.ServerVariables.Get("AUTH_USER");
string pass = this.Request.ServerVariables.Get("AUTH_PASSWORD");
//Set credentials.
ManagedCDI.PreAuthenticate = true;
ManagedCDI.Credentials = new NetworkCredential(userName,pass);
lblMsg.InnerHtml = mpsResponseHeaderLabel;
//Display response.
this.mpsResponse.DocumentSource = "";
response = ManagedCDI.ModifyOrganization(path,preferredDomainController, remoteNetBiosDomainName, newRemoteFQDNDomainName, remotePreferredDomainController, remoteAdministratorContact, sendCredentials);
// set the response XML to match the return from MPF
responseXml.LoadXml(response);
this.mpsResponse.Document = responseXml;
lblDone.InnerText = successMsg;
Applies To
Managed Customer Directory Integration Web Service for:
Hosted Messaging and Collaboration version 4.0
Hosted Messaging and Collaboration version 3.5
Windows-based Hosting version 4.5
Windows-based Hosting version 4.0
Windows-based Hosting for Applications version 1.0
See also
Tasks
Managed CDI::EnableOrganization
Managed CDI::GetOrganizationSettings
Managed CDI::DisableOrganization