Table of Contents

Class PrincipalTypes

Namespace
FoundationaLLM.Common.Constants
Assembly
FoundationaLLM.Common.dll

The types of security principals.

public static class PrincipalTypes
Inheritance
PrincipalTypes
Inherited Members

Fields

Group

The group security principal type.

public const string Group = "Group"

Field Value

string

ServicePrincipal

The service principal security principal type.

public const string ServicePrincipal = "ServicePrincipal"

Field Value

string

User

The user security principal type.

public const string User = "User"

Field Value

string

Methods

IsValidPrincipalType(string)

Determines if the specified principal type is valid.

public static bool IsValidPrincipalType(string principalType)

Parameters

principalType string

The name of the principal type to validate.

Returns

bool

True if the specified principal type is valid.