SharePoint2007Provider::ModifyServiceAccountDirectoryPaths

The ModifyServiceAccountDirectoryPaths procedure modifies the service Account Directory paths of all web applications on a target server.

Arguments

Input Arguments Required Description

<target>

Yes

The URL of the Windows SharePoint Services administration site.

<serviceAccountDirectoryPaths>

No

The new serviceAccountDirectoryPaths.

Output Arguments Description

<webApplications>

The container of the Web applications.

<webApplication>

The container of the URL and ServiceAcocuntDirectoryPath.

<URL>

The URL of the Web application.

Remarks

No remarks

Sample Code

Example XML Request

<request> 
  <data> 
    <target>https://spserver:8181</target> 
<serviceAccountDirectoryPaths>CN=Users,DC=Fabrikam,DC=Com </serviceAccountDirectoryPaths> 
  </data> 
  <procedure> 
    <execute namespace="Sharepoint2007Provider" procedure="ModifyServiceAccountDirectoryPaths" impersonate="1" > 
      <before source="data" destination="executeData" mode="merge"/> 
      <after source="executeData" destination="data" mode="merge"/> 
    </execute> 
  </procedure> 
</request> 

Example XML Response

<response> 
  <data> 
      <webApplications> 
        <webApplication> 
           <URL>https://spserver:8888/</URL>        
     </webApplication>   
    </webApplications> 
  </data> 
</response>

Applies To

Windows SharePoint Services Provider API for:

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0

See also

Tasks

SharePoint2007Provider::GetServiceAccountDirectoryPaths