[Gambas-user] ITAWT check if the User is a member of a group
Bruce
adamnt42 at gmail.com
Mon Nov 9 16:03:04 CET 2020
On 10/11/20 12:08 am, Brian G wrote:
> Hi Bruce
> 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()
>
>
> Thank You
> Brian G
>
> ----- 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?
>
> tia
> bruce
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
Thank you BrianG!
Excellent.
regards
b
More information about the User
mailing list