SharePoint2007Provider::GetServiceAccountDirectoryPaths

The GetServiceAccountDirectoryPaths procedure retrieves the service Account Directory paths of web applications on a target server.

Arguments

Input Arguments Required Description

<target>

Yes

The URL of the Windows SharePoint Services administration site.

<webApplicationURL>

No

The URL of the Windows SharePoint Services Web application.

Output Arguments Description

<webApplications>

The container of Web applications.

<webApplication>

The container of the URL and ServiceAcocuntDirectoryPath.

<URL>

The URL of the Web application.

<serviceAcountDirectoryPaths>

The Service account directory path of the Web application.

Remarks

No remarks

Sample Code

Example XML Request

<request> 
  <data> 
    <target>https://spserver:8181</target> 
<webApplicationURL>https://spserver:8888</webApplicationURL> 
  </data> 
  <procedure> 
    <execute namespace="Sharepoint2007Provider" procedure="GetServiceAccountDirectoryPaths" 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>       <serviceAcountDirectoryPaths>CN=Users,DC=Fabrikam,DC=Com</serviceAcountDirectoryPaths> 
     </webApplication>   
   </webApplications> 
  </data> 
</response> 

Applies To

Windows SharePoint Services Provider API for:

  • Hosted Messaging and Collaboration version 4.0

  • Hosted Messaging and Collaboration version 4.5

See also

Tasks

SharePoint2007Provider::ModifyServiceAccountDirectoryPaths