3.1.4.19.2.1 GetUserMemberships

The GetUserMemberships element is the body of the request WSDL message for the GetUserMemberships WSDL operation.

 <s:element name="GetUserMemberships">
   <s:complexType>
     <s:sequence>
       <s:element name="accountName" type="s:string" minOccurs="0" maxOccurs="1"/>
     </s:sequence>
   </s:complexType>
 </s:element>

accountName: A string that specifies the login name of the user profile to return the elements for. This value MUST be less than or equal to 400 characters in length. The protocol server MUST treat accountName in a case insensitive manner for retrieval of the user profile.

If accountName is not specified or does not have a value and there is not an existing user profile for the current user, then a new user profile MAY<12> be created which represents the current user and the protocol server MUST send a response that includes zero MembershipData elements.

If accountName is not specified or does not have a value and there is an existing user profile for the current user, then the protocol server MUST return elements for that user profile.

If accountName is specified and does not match the login name of an existing user profile, the protocol server MUST send a SOAP fault message.