Hosted SharePoint 2007 Namespace
This document provides the details of the application programming interface (API) for the Microsoft Windows SharePoint HostedSharePoint2007 namespace included with the Microsoft Provisioning System (MPS) in the Microsoft Hosted Solutions. Contained herein are descriptions of the procedures of this namespace along with method input parameters and return values. In addition, example Extensible Markup Language (XML) requests are provided along with a typical XML response that the provisioning system returns after a request is submitted to MPS and tasks are completed. Developers should use this API document as a reference when creating XML requests that initiate Windows SharePoint Service provisioning tasks or as a basis for review of the Windows SharePoint Service named procedures that are exposed in the MPS Web Service. The intended use of this API is for client applications that will perform Windows SharePoint Service provisioning tasks.
With the goal of site subscription and site management, the HostedSharePoint2007 namespace enables MPS to provision Windows SharePoint Service sites either with or without Exchange mail boxes. Hosted Windows SharePoint Services will orchestrated the Product Catalog based enablement and disablement of Windows SharePoint Service.
Many of the procedures in this namespace accept as a parameter a target URL. This URL is passed to the SharePoint Provider to dictate which remote SharePoint Front-End server the provider will submit provisioning requests to, in order to perform the corresponding provisioning action. Since the MPS Engine will submit authenticated HTTP requests to the server specified by the target URL, it is important that you ensure that only valid Windows SharePoint Front-End servers are targeted for provisioning actions.
Suggestions for ensuring validity of servers in target URL:
User Interfaces or automation engines that use the Hosted or Managed Sharepoint namespaces should build a valid target URL from a protected list of known good servers.
The target parameter should not be based on any direct end-user input.
Firewall rules should be configured such that the MPF Engine servers can only establish HTTP(S) connections to valid WSS FE servers.
User Interfaces or automation engines should perform basic URL encoding on the URL before setting the value of target.
Besides target, validation should be performed for parameters like URL, GUID, size, and email . For more information about input data validation, see Input Validation and Protection against Injection Attacks.
Public Methods
Public Method | Description |
---|---|
Adds a Windows SharePoint Service group to the customer's site collection or subsite. |
|
Adds a group to the specified role of the customer's site collection or subsite. |
|
Adds a role to the customer's site collection or subsite. |
|
Adds one or more user accounts to the specified role. |
|
Changes the customer organization's Windows SharePoint Service plan to the specified plan. |
|
Creates a customer SharePoint Site Collection. |
|
Creates a subsite in a customer's SharePoint Site Collection. |
|
Creates a Windows SharePoint Service plan. |
|
Deletes a customer SharePoint Site Collection. |
|
Deletes a Subsite in a customer's SharePoint Site Collection. |
|
Wraps the ManagedSharePoint2007::GetCustomerSite procedure. |
|
Retrieves the available plans assigned to the specified customer organization. |
|
Gets the details of a specific Hosted Windows SharePoint Service plan. |
|
Retrieves the Hosted Windows SharePoint Service plan assigned to the specified customer organization. |
|
Gets information about the specified roles. |
|
Returns detailed information about the Hosted Windows SharePoint Service. |
|
Returns information about the collection of users in the specified role. |
|
Initializes the Mobility Namespace with the Plans Manager database. This should be run before any of these procedures are called. |
|
Wraps the ManagedSharePoint2007::ModifyCustomerSite procedure. |
|
Modifies a customer's quota for the site collection. |
|
Modifies the specified Hosted Windows SharePoint Service plan. |
|
Queries all sites for an organization. |
|
Removes a group from the customer's site collection or subsite. |
|
Removes a group from the specified role of the customer's site collection or subsite. |
|
Removes a role from the customer site collection or subsite. |
|
Removes one or more user accounts from the specified role. |
|
Associates a Hosted Windows SharePoint Service plan with a customer organization. |
|
Removes any association between Windows SharePoint Service plans and a customer organization. |
Applies To
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0