See ol_user_get_custom_fields to get custom fields
ol_user_get_custom_fields
ol_user_set_custom_attr(con, user_id, ...)
a 'OneLogin' connection
user id
named custom attributes to set
# NOT RUN { if (interactive()) ol_user_set_custom_attr(onelogin, 54963040, attr = "value") # }
Run the code above in your browser using DataCamp Workspace