Contents

obtain(withRight:flags:)

Authorizes and preauthorizes one specific right.

Declaration

func obtain(withRight rightName: AuthorizationString!, flags: AuthorizationFlags) throws

Parameters

Return value

true if operation completes successfully.

Discussion

Use this method to authorize or preauthorize a single right.

See Also

Authorizing rights