Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Check if user is a member of a group

davidcor
1-Visitor

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
7-Bedrock
(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