Query Active Directory

2009-03-02 Thread GARRISON, TRAVIS J.
Would anyone know how to query an attribute from Active Directory? I would like to query the scriptPath attribute and return 1 if it has a value in it and 0 if it is empty? How would I do this in cocoa? I would like to only use the /Search path since we use ADmitMac currently. Travis Garrison D

Determine who ran an application

2008-08-12 Thread GARRISON, TRAVIS J.
I am new to Cocoa and Xcode, so please bear with me. I am editing an existing application that we have. The application is set to run when the user logs into the machine through a loginHook. We have to pass the %USER% variable as an argument. I would like to pull the username from directly in the a