cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Check if user is a member of a group

davidcor
1-Newbie

Check if user is a member of a group

Is there a way to check if a user is in a particular group without using getmembers and iterating through the list?

1 REPLY 1
adam11
5-Regular Member
(To:davidcor)

Hi David,

User's have a

GetGroups()

Service which returns an InfoTable of Groups. You can wrap this Service to create your own

IsMember()

Service to query the InfoTable returned by

GetGroups()

and return a BOOLEAN value.


Thanks,

Adam



Announcements


Top Tags