By: Master Kumar user 11 Sep 2018 at 7:52 a.m. CDT

1 Response
Master Kumar gravatar
Adding Custom attribute for a user(person) I would like to add a custom attribute for a user, Set the value to the newly created custom attribute while creating user using SCIM API Now wanted to retrive the custom attribute value in the python script and some validations. Can you please let me know the steps on how to acheive this

By Thomas Gasmyr Mougang staff 12 Sep 2018 at 1:20 a.m. CDT

Thomas Gasmyr Mougang gravatar
Hi sam, Steps: 1. Add new custom attribute to gluu server: see doc [here](https://gluu.org/docs/ce/admin-guide/attribute/#custom-attributes). 2. Use custom attribute in scim API(https://gluu.org/docs/ce/user-management/scim2/#handling-custom-attributes-in-scim-client) 3. From custom script, retrieve the custom attribute ``` userSatus = self.getUserAttributeValue(user_name, "gluuStatus") ``` See custom script added in attachment for reference.