Table of Contents

Class EntraApplicationApiPermission

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents an Entra directory API permission.

public class EntraApplicationApiPermission : GlobalSerializableBase, IComparable<EntraApplicationApiPermission>
Inheritance
EntraApplicationApiPermission
Implements

Constructors

EntraApplicationApiPermission()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.EntraApplicationApiPermission class.

public EntraApplicationApiPermission()

Properties

Description

Gets or sets the description of the permission.

public string Description { get; set; }

Property Value

string

DisplayName

Gets the display name of the API permission.

public string DisplayName { get; set; }

Property Value

string

Identifier

Gets or sets the unique identifier of the API permission. This is for internal system use only.

public Guid Identifier { get; set; }

Property Value

Guid

IsAdminConsentGranted

Gets or sets whether admin consent is granted.

public BooleanOption IsAdminConsentGranted { get; set; }

Property Value

BooleanOption

IsAdminConsentRequired

Gets or sets whether admin consent is required.

public BooleanOption IsAdminConsentRequired { get; set; }

Property Value

BooleanOption

PermissionDisplayName

Gets or sets the permision display name.

public string PermissionDisplayName { get; set; }

Property Value

string

PermissionIdentifier

Gets or sets the permission identifier.

public Guid PermissionIdentifier { get; set; }

Property Value

Guid

PermissionName

Gets or sets the permision name - for example "user_impersonation".

public string PermissionName { get; set; }

Property Value

string

PermissionType

Gets or sets the API permission type.

public EntraApiPermissionType PermissionType { get; set; }

Property Value

EntraApiPermissionType

PermissionTypeString

Gets the API permission type as a human readable string.

public string PermissionTypeString { get; set; }

Property Value

string

ResourceApplicationDisplayName

Gets or sets the resource application display name.

public string ResourceApplicationDisplayName { get; set; }

Property Value

string

ResourceApplicationIdentifier

Gets or sets the identifier of the resource application.

public Guid ResourceApplicationIdentifier { get; set; }

Property Value

Guid

Methods

CompareTo(EntraApplicationApiPermission)

Compares two CENTREL.XIA.Configuration.Types.EntraApplicationApiPermission objects to allow sorting alphabetically by display name.

public int CompareTo(EntraApplicationApiPermission other)

Parameters

other EntraApplicationApiPermission

The CENTREL.XIA.Configuration.Types.EntraApplicationApiPermission to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.EntraApplicationApiPermission objects.

ToString()

Returns the name of the API permission.

public override string ToString()

Returns

string

The display name of the API permission.