Code Comments
Programming Forum and web based access to our favorite programming groups.Hello, I am wondering what is the system call to get all the groups a user belongs to. I need both the group ids and the group names. I need to make this call from a c++ module. Thanks, Kushal
Post Follow-up to this messagekushal.agarwal@gmail.com (Kushal Agarwal) writes: > Hello, > > I am wondering what is the system call to get all the groups a user > belongs to. I need both the group ids and the group names. I need to > make this call from a c++ module. getgroups() followed by getgrgid() for each of these. At least on Solaris (you didn't specify the platform). And please learn to crosspost instead of multipost. And have a nice day. Dragan -- Dragan Cvetkovic, To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer !!! Sender/From address is bogus. Use reply-to one !!!
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.