Re: Determine who ran an application
Re: Determine who ran an application
- Subject: Re: Determine who ran an application
- From: "Kyle Sluder" <email@hidden>
- Date: Tue, 12 Aug 2008 13:13:28 -0400
On Tue, Aug 12, 2008 at 1:09 PM, GARRISON, TRAVIS J. <email@hidden> wrote:
> I think that is whats needed. This is an application that will look up
> the account in Active Directory and looks for a logon script. If the
> logon script exists, then present a computer use agreement that the user
> will accept or decline, with decline logging the user out. The
> application will lock the computer down, so that the user cannot do
> anything without accepting or declining. I just had to find out what
> username to search for.
If all you need is the username, then NSUserName is your choice. But
this seems like an extravagance -- aren't your client machines bound
to the AD domain? You should be able to just add the login scripts to
the appropriate users/groups/computers in OD, assuming you have an OS
X Server in a Golden Triangle configuration.
But this might be well beyond what you're looking for, and is
certainly off-topic for this list (which, BTW, you might have
unintentionally forgotten to cc: in your reply).
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden