Instance Method

permitWithRight:flags:

Authorizes and preauthorizes one specific right.

Declaration

- (OSStatus)permitWithRight:(AuthorizationString)rightName flags:(AuthorizationFlags)flags;

Parameters

rightName

The name of an authorization right.

flags

A bit mask for specifying authorization options. See permitWithRights:flags:environment:authorizedRights for details about possible flag values.

Discussion

Use this method to authorize or preauthorize a single right.

See Also

Related Symbols

- permitWithRights:flags:environment:authorizedRights:

Authorizes and preauthorizes rights to access a privileged operation and returns the granted rights.