Gets or sets the priority of this right.


int Priority {get; set;} 

Property value

The priority of the right. Default is 0.


This number is used when handling multiple matches for rights specified by wild cards. If rights specified by this property object match rights specified by another property object, the object with the higher priority prevails. The higher the value of the Priority property, the higher the priority.


See ApplicationCriteriaList for a code sample that illustrates using Priority in a script.