current user if started from /Library/StartupItems
current user if started from /Library/StartupItems
- Subject: current user if started from /Library/StartupItems
- From: Frank Fenn <email@hidden>
- Date: Mon, 3 Feb 2003 18:06:46 -0700
Hi all,
I've a little problem here for a while and I haven't found a solution
yet.
I start a tool from /Library/StartupItems, later on I need in a specific
time interval the username of the current log in user.
The problem is that every function NSUserName, getenv("USER"),
getiud() returns the root user. How do I get the actual console user?
--
regards
Frank Fenn - Bright Light Software
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >Re: NSSwap (From: David Remahl <email@hidden>) |