Class AssignmentBase
- Assembly
- FoundationaLLM.Common.dll
Represents an authorization assignment.
public class AssignmentBase : ResourceBase
- Inheritance
-
AssignmentBase
- Derived
- Inherited Members
- Extension Methods
Remarks
This class should never be used directly. Instead, use RoleAssignment or PolicyAssignment.
Properties
PrincipalId
The unique identifier of the security principal which is the target of the assignment.
[JsonPropertyName("principal_id")]
public required string PrincipalId { get; set; }
Property Value
PrincipalType
The type of the security principal which is the target of the assignment. Can be User, Group, or ServicePrincipal.
[JsonPropertyName("principal_type")]
public required string PrincipalType { get; set; }
Property Value
Scope
The scope at which the assignment is made.
[JsonPropertyName("scope")]
public required string Scope { get; set; }
Property Value
ScopeResourcePath
The ResourcePath resulting from parsing the scope path.
[JsonIgnore]
public ResourcePath? ScopeResourcePath { get; set; }