Tuesday, 20 November 2012
Security Policy property in Ax 2012
I have been working on the security . I have came across the property of ContextType and ContextString.
I will to explian ContextType and ContextString properties.
In ContextType LookUp there will be three values they are
Here don't get confused with the ContextString in LookUp and ContextString in Properties.
They both are related to each other.
Case 1: When ContextType property is set to "ContextString"
The ContextString property is empty. This combination implies that when it is enabled, this security policy will always be applicable for all users.
Case 2: When ContextType property is set to "RoleName"
The RoleName Property will be enabled and it shows roles select the appropriate Role for the situation.The Role which is activated for the user the security policy applies.
Case 3: When ContextType property is set to "RoleProperty"
The RoleProperty is the combination of ContextString and RoleName. So both the properties will be activated.
I hope you have understood the concept of ContextType property in Security Policy.