The UserContext class in smjavaapi has a getProp function which can be used to retrieve a user's attribute.
public java.lang.String getProp(java.lang.String propName)
As per the documentation, it seems that it can only be used to retrieve one attribute at a time. Is there a way to retrieve multiple attributes with a single call?
I dont find any option to retrieve multiple attributes with getProp function. It can be used only to retrieve the value of the specified user property.
But we do have below option in DMS API which will be used to retrieve all the attributes of the current object.
public java.util.Hashtable getAttributes()Gets the attributes of the current object.Returns:The attributes of the DMS object that is represented in a java.util.Hashtable
Please refer below document.
SmDmsUser (CA SiteMinder(r) SDK r12.52)
hope this helps.
Thank you for your response. I will read more on this.