Glancing at your code, this:
AuthorizationItem right = { RIGHT, 0, NULL, 0 };
Looks completely wrong. What is RIGHT?
Your flags also look wrong. Your not allowing interaction, so the
system won't be allowed to authorize to create your right.
Not to mention that I have no idea wh
Hi All,
In my project , I added an executable and created AuthorizationRef
successfully.The AuthorizationCopyRights also worked without
error.But when AuthorizationExecuteWithPrivileges , it shows
the invalid flags error.
Kindly help me.
Thanks In Advance,
Sheen
OSStatus status;AuthorizationR