Runs an executable tool with root privileges.
Original signature is 'OSStatus AuthorizationExecuteWithPrivileges ( AuthorizationRef authorization, const char *pathToTool, AuthorizationFlags options, char *const *arguments, FILE **communicationsPipe );'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public static int AuthorizationExecuteWithPrivileges( IntPtr authorization, string pathToTool, AuthorizationFlags options, IntPtr arguments, IntPtr communicationsPipe )

- authorization (IntPtr)
- MISSING
- pathToTool (String)
- MISSING
- options (AuthorizationFlags)
- MISSING
- arguments (IntPtr)
- MISSING
- communicationsPipe (IntPtr)
- MISSING

A result code. See “Authorization Services Result Codes.”

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)