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

username generation

Nagateja_K
New Contributor III
New Contributor III

Hi Everyone,
 we are creating users via API and after creating user we are trying to generate a unique username via sav4sav update user Json but after generation when we need to update the username it was not able to update it , as username it self is unique and it cannot able to find the username with new attribute.
Example:

user created via API ---> "username = '123456'"
generating unique username -->> username = 'C23659'
so after generating username it wont be able to find the with the new value because Saviynt has different username in place.

NOTE : We Have tried below 
Payload : 1 :

{
    "propertytosearch": "username",
    "username": 123456,
     "updatedusername" : "C23659"
}
and 
 
Payload : 2
{
    "propertytosearch": "userKey",
    "userKey": 774,
     "updatedusername" : "C23659"
}

Observation : when we use userkey its saying invalid payload seems we cannot use that attribute.

NOTE : username and userkey are only unique attributes in our case.


Thanks, 
Nagateja








5 REPLIES 5

NM
Honored Contributor III
Honored Contributor III

@Nagateja_K  did you try by defining username under global configuration?


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'

Nagateja_K
New Contributor III
New Contributor III

Hi @NM ,

but the usergeneration will only work for user via import and UI upload , in our case we are creating user via saviynt API.

Thanks,

  • Did you tested from postman API ?
  • Please share JSON

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Hi @rushikeshvartak ,

{
    "propertytosearch": "userKey",
    "userKey": 774,
     "updatedusername" : "C23659"
}
Thanks.

It does not answer question Did it worked from postman (Share screenshot)

need Saviynt config JSONs


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.