[Gambas-user] ITAWT check if the User is a member of a group
brian at westwoodsvcs.com
Mon Nov 9 14:38:47 CET 2020
I attach a project which does what your looking for. It returns the list of groups for a user.
Hope this is helpful.
It uses the clib calls getgrouplist() and getgrgid()
----- Original Message -----
From: "Bruce" <adamnt42 at gmail.com>
To: "Gambas mailing list" <user at lists.gambas-basic.org>
Sent: Sunday, November 8, 2020 7:57:45 PM
Subject: [Gambas-user] ITAWT check if the User is a member of a group
User'Group returns the primary group id for the User. I need to find out
if the User is also a member of another group.
Is there a way in Gambas or does anyone have a good idea?
----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12081 bytes
Desc: not available
More information about the User