MonobjcMonobjc Documented Class Library
AuthorizationItem Structure
NamespacesMonobjc.SecurityFoundationAuthorizationItem
Contains information about an authorization right or the authorization environment.
Declaration Syntax
C#Visual BasicVisual C++
public struct AuthorizationItem
Public Structure AuthorizationItem
public value class AuthorizationItem
Members
All MembersMethodsFields



IconMemberDescription
Equals(Object)
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
flags
Reserved option bits. Set to 0.

GetHashCode()()()()
Returns the hash code for this instance.
(Inherited from ValueType.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
name
The required name of the authorization right or environment data. The name of a right is something that you create. You should name rights in a style similar to Java package names. For example, "com.myOrganization.myProduct.myRight". Set this field to kAuthorizationRightExecute when requesting a right for use in the function AuthorizationExecuteWithPrivileges.

ToString()()()()
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
value
A pointer to information pertaining to the name field. For example, if the name field is set to the value represented by the constant kAuthorizationRightExecute, then set the value field to the full POSIX pathname of the tool you want to execute. In most other cases, set this field to NULL.

valueLength
An unsigned 32-bit integer that represents the number of bytes in the value field. Set the valueLength field to 0 if you set the value field to NULL.

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

Assembly: Monobjc.SecurityFoundation (Module: Monobjc.SecurityFoundation)