Hi,
I need to convert lastname to uppercase in distinguish name transform for AD provisioning. For this I wrote the below transform but this is not working. Users are getting created with the below DN :-
CN=$(firstname) $(lastname)$(uniqueCounter),OU=CyberArkTest,OU=Users
{
“attributes”:{
“cloudMaxSize”:“200”,
“cloudMaxUniqueChecks”:“50”,
“cloudRequired”:“true”
},
“isRequired”:false,
“multi”:false,
“name”:“distinguishedName”,
“transform”:{
“attributes”:{
“firstName”:{
“attributes”:{
“name”:“firstname”
},
“type”:“identityAttribute”
},
“lastname”:{
“attributes”:{
“input”:{
“attributes”:{
“name”:“lastname”
},
“type”:“identityAttribute”
}
},
“type”:“upper”
},
“patterns”:[
“CN=$firstname $lastname$(uniqueCounter),OU=CyberArkTest,OU=Users”
],
“sourceCheck”:true
},
“type”:“usernameGenerator”
},
“type”:“string”
}
Kindly let me know what is wrong in this transform. Why $firstname and $lastname is not getting replaced with the actual firstname and lastname?
Regards,
Mahesh