Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Modify user manager when uploading csv files

JPMac
Regular Contributor
Regular Contributor

We create users by uploading csv files.
In csv files, the initials of username in the manager attribute and username registered in Saviynt are different.As I will explain using a simple csv file, in the following case, the username of manager starts with 'L', while the username of Manager registered in Saviynt starts with 'M'.

JPMac_0-1707392339103.png

Therefore, in the SAV file when uploading CSV, I created the character of manager attribute of NEWUSERDATA to be converted from "L" to "M."

JPMac_1-1707392418369.png

*I attach the sav files


However, this does not include manager attribute. Could you please advise if there is any mistake in writing SAV file?

JPMac_2-1707392455387.png

 

2 REPLIES 2

AmitM
Valued Contributor
Valued Contributor

Hi @JPMac ,

"UPDATE NEWUSERDATA SET NEWUSERDATA.MANAGER = REPLACE(NEWUSERDATA.MANAGER,'L','M')"

You don't need current users table in this.

Thanks,

Amit

If helped, consider ACCEPTING SOLUTION

rushikeshvartak
All-Star
All-Star

Remove # ( comment) before MODIFYUSERJSON keyword


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.