Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Grant Access JSON template for MSSQL server

shubhangsinha_
New Contributor III
New Contributor III

Hello everyone,

 

I am trying to find grant access json for provisioning roles in external MS SQL server database but there seems to be no sample for it : 

The only sample I see is but this seems to be for internal Saviynt database : 

 

{

"ENTITLEMENT_TYPE1" : [
"DELETE FROM USER_SAVROLES where USERKEY
= ${user.id}" 

}

 

2 REPLIES 2

pmahalle
All-Star
All-Star

Hi @shubhangsinha_ ,

You can use below template for grant access, change the query as per the requirement and your target MSSQL DB schema.

{
"entitlement_type1": "insert into tablename (col1, col2, col3) Values ('${accountName}',  '${task.entitlement_valueKey.entitlement_value}', '${task.entitlement_valueKey.customproperty7}')"
}


Pandharinath Mahalle(Paddy)
If this reply helps your question, please consider selecting Accept As Solution and hit Kudos 🙂

Thank you for your response but In the entitlement_type1 query I have to mention the actual name of the entitlement type? or should I just leave it as such