On Tue, Aug 12, 2008 at 1:09 PM, GARRISON, TRAVIS J. <[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]