Tc Get User Group Members: Get User Group Members
This example shows the output document that returns the group member objects of a user.
[
{
"_id": "TC*User*null***A6CAAAx07hAnmD",
"person":{
"_id": "TC*Person*null***AqBAAAx07hAnmD",
"UID": "AqBAAAx07hAnmD"
},
"UID": "A6CAAAx07hAnmD",
"userGroupMembers":[
{
"_id": "TC*GroupMember*null***A6OAAAx07hAnmD",
"isActive": true,
"isDefaultRole": false,
"isGroupAdmin": false,
"the_group":{
"_id": "TC*Group*null***QBFAAAA47hAnmD",
"name": "Engineering",
"name_DISPLAY": "Engineering",
"UID": "QBFAAAA47hAnmD"
},
"the_role":{
"_id":"TC*Role*null***AdPAAAA47hAnmD",
"UID":"AdPAAAA47hAnmD"
},
"UID": "A6OAAAx07hAnmD"
}
]
]UIDs in Teamcenter are as the name says UNIQUE. The UIDs in the example only exist in our Teamcenter system as expected for our example. Same is valid for Adapter ID "_id" since its base is the UID.