Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9236

Re: XBO based on User role.

$
0
0

Hi Asad,

You need to use another Indicator field for TCDataLocked .

element isManager:Indicator;

 

var identity = Identity.Retrieve(Context.GetCurrentIdentityUUID());

var occupationCode=identity.Person.CurrentCommon.Person.OccupationCode.GetDescription();

if(occupationCode=="Manager")

{

     this.isManager=true;

}else{

     this.isManager=false;

}

Hope this helps.

Fred.


Viewing all articles
Browse latest Browse all 9236

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>