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
Valued Contributor II
Valued Contributor II

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}')"
}


Regards,

Pandharinath Mahalle(Paddy)
If this reply answered your question, please Accept it As Solution to help others who may have a similar problem.

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