Get user's username / password from keychain?

Dirk

I’m needing an admin user & password because my little Applet needs to be able to de/activate the network interfaces as part of it’s little one trick usefulness.

So at the moment, I’m relying on the end user creating a password item in the login keychain, and in it, they store a admin user & password and then when they run my little Applet it requests access to the password item, and the user needs to give it elsewise the Applet can’t do it’s trick. This way my Applet doesn’t need to really know the user/pass in that the Applet doesn’t need to save the user/pass outside the keychain, and only uses it to do it’s trick, and the Applet doesn’t itself access the internet so it’s not “phoning home” any info…