I'm pretty sure that you can do it for MacOS and Linux using approximately the same code. But the code I have in mind is pretty low-level.

Charles Yeomans


On Nov 16, 2006, at 9:55 PM, Dean Davis wrote:

I just need to know if the user running my program is an Admin user?
Anyone know how to do this for Windows and Mac (I guess Linux too but
I don't compile for Linux)?
Would rather not rely on checking a folders permissions but would like
an actual OS function.
I know MBS has a function for Windows but I didn't find a similar one for Mac.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to