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
ServicePrincipal
The service principal security principal type.
public const string ServicePrincipal = "ServicePrincipal"
Field Value
User
The user security principal type.
public const string User = "User"
Field Value
Methods
IsValidPrincipalType(string)
Determines if the specified principal type is valid.
public static bool IsValidPrincipalType(string principalType)
Parameters
principalType
stringThe name of the principal type to validate.
Returns
- bool
True if the specified principal type is valid.