Obtaining a list of procedures by using XML

You can use the GetProcedures procedure of the MPF Config namespace to obtain a list of all of the procedures contained in a specific namespace. No rollback support is provided for this procedure.

This procedure expects to be called with impersonate="1". The procedure impersonates the caller.

Example of a request that calls the GetProcedures procedure

<request>
  <procedure>
	<execute namespace="MPF Config" procedure="GetProcedures" impersonate="1">
	<executeData>
		<namespace>Managed Hosting</namespace>
	</executeData>
	<after source="executeData" destination="data" />
	</execute>
  </procedure>
</request>

Input for GetProcedures

The following input is valid for this request:

Typical response for GetProcedures

This procedure returns a list of all procedures contained in the specified namespace, along with the access and type attributes of each procedure. The <runAsCredentialID> parameter matches the id attribute ("1") that is returned by the <GetCredentials> procedure.

<response>
  <data>
	<namespace>Managed Hosting</namespace>
	<procedures>
	<procedure name="GetCallerUiRoles" access="public" type="read" />
	<procedure name="GetOrgType" access="public" type="read" runAsCredentialID="1" />
	<procedure name="InitializeADforHosting" access="public" type="write" />
	<procedure name="InitializeRM_" access="private" type="write" />
	<procedure name="TestDomainAdmin" access="public" type="read" />
	<procedure name="TryAddConsumerType_" access="private" type="write" />
	<procedure name="TryAddResourceType_" access="private" type="write" />
	<procedure name="TryAddResourceTypeData_" access="private" type="write" />
	<procedure name="UninitializeRM_" access="private" type="write" />
	</procedures>
  </data>
</response>

Important