Class EntraConditionalAccessPolicy
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an Entra directory conditional access policy.
public class EntraConditionalAccessPolicy : GlobalSerializableBase, IComparable<EntraConditionalAccessPolicy>
- Inheritance
-
EntraConditionalAccessPolicy
- Implements
Constructors
EntraConditionalAccessPolicy()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.EntraConditionalAccessPolicy class.
public EntraConditionalAccessPolicy()
Properties
AccessControls
Gets or sets the access controls.
public EntraConditionalAccessPolicyAccessControls AccessControls { get; set; }
Property Value
Assignments
Gets or sets the assignments for the conditional access policy.
public EntraConditionalAccessPolicyAssignments Assignments { get; set; }
Property Value
Conditions
Gets or sets the conditions for the conditional access policy.
public EntraConditionalAccessPolicyConditions Conditions { get; set; }
Property Value
CreatedDateTime
Gets or sets the data and time the conditional access policy was created.
public DateTime CreatedDateTime { get; set; }
Property Value
DisplayName
Gets or sets the display name of the conditional access policy.
public string DisplayName { get; set; }
Property Value
Identifier
Gets or sets the unique identifier of the conditional access policy.
public Guid Identifier { get; set; }
Property Value
ModifiedDateTime
Gets or sets the date and time the policy was last modified.
public DateTime ModifiedDateTime { get; set; }
Property Value
State
Gets or sets the state of the policy.
public EntraConditionalAccessPolicyState State { get; set; }
Property Value
StateString
Gets the state of the policy as a human readable string.
public string StateString { get; set; }
Property Value
TemplateIdentifier
Gets or sets the identifier of the used template or Guid.Empty if no template was used.
public Guid TemplateIdentifier { get; set; }
Property Value
TemplateName
Gets or sets the name of the template.
public string TemplateName { get; set; }
Property Value
UsesBetaFeatures
Gets or sets whether the conditional access policy uses Preview (BETA) features.
public BooleanOption UsesBetaFeatures { get; set; }
Property Value
Methods
CompareTo(EntraConditionalAccessPolicy)
Compares two CENTREL.XIA.Configuration.Types.EntraConditionalAccessPolicy objects to allow sorting alphabetically by display name.
public int CompareTo(EntraConditionalAccessPolicy other)
Parameters
otherEntraConditionalAccessPolicyThe CENTREL.XIA.Configuration.Types.EntraConditionalAccessPolicy to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.EntraConditionalAccessPolicy objects.
ToString()
Returns the display name of the conditional access policy.
public override string ToString()
Returns
- string
The display name of the conditional access policy.