3.1.4.11.2.1 GetCommonMemberships

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

 <s:element name="GetCommonMemberships">
   <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 be compared with. This value MUST be less than or equal to 400 characters in length. If this value matches the login name of the current user, the protocol server MUST return the memberships associated with user profile of the current user. If this element is not specified or does not have a value, AND a user profile for the current user exists, the protocol server MUST return the memberships associated with the user profile of the current user. If this element is not specified or does not have a value, AND a user profile for the current user does not exist, the protocol server MAY<8> create a user profile for the current user and return the memberships associated with the user profile of the current user. The protocol server MUST treat accountName in a case insensitive manner for retrieval of the user profile.

If the accountName does not correspond to an existing user profile, the protocol server MUST send a SOAP fault message.