Table of Contents

Class EntraServicePrincipal

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

Represents an Entra directory service principal.

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

Constructors

EntraServicePrincipal()

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

public EntraServicePrincipal()

Properties

AdminConsentedPermissions

Gets or sets the admin consented permissions.

public EntraServicePrincipalAdminConsentedPermissions AdminConsentedPermissions { get; set; }

Property Value

EntraServicePrincipalAdminConsentedPermissions

AppRoleAssignments

Gets or sets the app role assignments configured for the service principal.

public EntraServicePrincipalAppRoleAssignments AppRoleAssignments { get; set; }

Property Value

EntraServicePrincipalAppRoleAssignments

AppRoles

Gets or sets the app roles configured for the service principal.

public EntraAppRoles AppRoles { get; set; }

Property Value

EntraAppRoles

ApplicationIdentifier

Gets or sets the application identifier in GUID format.

public Guid ApplicationIdentifier { get; set; }

Property Value

Guid

DisplayName

Gets or sets the display name of the service principal.

public string DisplayName { get; set; }

Property Value

string

Identifier

Gets or sets the identifier of the service principal.

public Guid Identifier { get; set; }

Property Value

Guid

IsEnterpriseApplication

Gets or sets whether the service is an enterprise application.

public BooleanOption IsEnterpriseApplication { get; set; }

Property Value

BooleanOption

Owners

Gets or sets the owners of the service principal.

public EntraOwners Owners { get; set; }

Property Value

EntraOwners

Properties

Gets or sets the properties of the service principal.

public EntraServicePrincipalProperties Properties { get; set; }

Property Value

EntraServicePrincipalProperties

Methods

CompareTo(EntraServicePrincipal)

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

public int CompareTo(EntraServicePrincipal other)

Parameters

other EntraServicePrincipal

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

Returns

int

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

ToString()

Returns the display name of the service principal.

public override string ToString()

Returns

string

The display name of the service principal.