ItemPolicyComplexValue
Represents a complex value for Container item policies, allowing logical combinations with other ItemPolicyComplexValue instances. These complex values enable the creation of fine-grained access control rules by combining multiple policy criteria using logical operators.
Constructors
ItemPolicyComplexValue
Creates instance of ItemPolicyComplexValue
void ItemPolicyComplexValue(
String value
)
Name | Type | Description |
---|---|---|
value | String | raw policy value |
Methods
AND
Combines this policy with another policy using the logical AND operator.
public ItemPolicyComplexValue AND(
ItemPolicyComplexValue policy
)
Name | Type | Description |
---|---|---|
policy | ItemPolicyComplexValue | the policy to combine with this policy using AND. |
Type | Description |
---|---|
ItemPolicyComplexValue | A new ItemPolicyComplexValue representing the combined policy. |
OR
Combines this policy with another policy using the logical OR operator.
public ItemPolicyComplexValue OR(
ItemPolicyComplexValue policy
)
Name | Type | Description |
---|---|---|
policy | ItemPolicyComplexValue | the policy to combine with this policy using OR. |
Type | Description |
---|---|
ItemPolicyComplexValue | A new ItemPolicyComplexValue representing the combined policy. |