× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Wed, 7 Aug 2002, Graap, Ken wrote:
>
> Does anyone know what the API for swapping GID's is and where I can find
> some documentation on it?
>

Not sure what you mean by that... I assume by GID, you mean "group-id"
(but, usually I hear the term "GID" in a Unix context)

Are you looking to change which number represents which group?  Or are
you looking to change a thread/job to run using a different group profile?

The qsysetgid() and qsysetegid() APIs are the UNIX-like way to do this.
They are found in the UNIX-type APIs manual, under (for some odd reason)
the Integrated Filesystem APIs.  Look here:

http://publib.boulder.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/unix2.htm

The native methods of doing this would involve setting the profiles using
"profile handles" or probably better "profile tokens".   These are covered
in the Security API manual, which you'll find here:
http://publib.boulder.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/sec1.htm




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.