Retrieving Groups for a User
This example shows you how to retrieve groups for a user by specifying the user OID in the request URI.
Use the following GET URI.
URI
GET /Windchill/servlet/odata/PrincipalMgmt/Users('<OID>')/Groups
The request returns only the immediate parent groups of which the specified user is a member.
War dies hilfreich?