Language

AuthorizationRights Class

Definition

Represents a set of authorization rights used to configure an authorization view.

public sealed class AuthorizationRights : ObjCRuntime.DisposableObject, System.Collections.Generic.IEnumerable<Security.AuthorizationRight>, System.Collections.Generic.IReadOnlyCollection<Security.AuthorizationRight>, System.Collections.Generic.IReadOnlyList<Security.AuthorizationRight>
type AuthorizationRights = class
    inherit DisposableObject
    interface IReadOnlyList<AuthorizationRight>
    interface seq<AuthorizationRight>
    interface IEnumerable
    interface IReadOnlyCollection<AuthorizationRight>
Inheritance
AuthorizationRights
Implements

Constructors

Name Description
AuthorizationRights()

Creates an empty authorization rights set.

AuthorizationRights(IList<AuthorizationRight>)

Creates a new authorization rights set from the specified rights.

AuthorizationRights(String[])

Creates a new authorization rights set from the specified right names.

Properties

Name Description
Count

Gets the number of rights in this set.

Handle (Inherited from DisposableObject)
Item[Int32]

Gets the authorization right at the specified index.

Owns (Inherited from DisposableObject)

Methods

Name Description
ClearHandle() (Inherited from DisposableObject)
Dispose()

Releases all resources used by this object.

(Inherited from DisposableObject)
Dispose(Boolean)

Releases the resources used by this object.

(Inherited from DisposableObject)
Equals(Object) (Inherited from DisposableObject)
GetCheckedHandle() (Inherited from DisposableObject)
GetEnumerator()

Returns an enumerator that iterates through the authorization rights.

GetHashCode() (Inherited from DisposableObject)
InitializeHandle(NativeHandle) (Inherited from DisposableObject)

Explicit Interface Implementations

Name Description
IEnumerable.GetEnumerator()

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to