I am trying to add user extensions to an infotable for user provisioning purposes. The infotable would have the username in one column and some of the user extensions in the other columns. This infotable will be used to populate a grid. With Things I know I can do something like:
var newEntry = new Object();
newEntry.Description1 = Things[ThingName].Property1; // STRING
newEntry.Description2 = Things[ThingName].Property2; // STRING
newEntry.Description3 = Things[ThingName].Property3; // STRING
myInfotable.AddRow(newEntry);
Users are not Things, so I am not sure how to go about this. How can I do something similar with Users?
I was able to figure out that I can do something like:
var newEntry = new Object();
newEntry.Description1 = Users[UserName].firstName; // STRING
newEntry.Description2 = Users[UserName].lastName; // STRING
newEntry.Description3 = Users[UserName].emailAddress; // STRING
myInfotable.AddRow(newEntry);
Is there a DataShape that has these properties for User Extensions? I was not able to find it.
Hi @Willie.
Are you trying to add properties that don't already exist in the User Extensions for a given User? Can you provide more information on your use case?
Regards.
--Sharon
Hi @Willie.
Thanks for your response. Is this still an issue or can this thread be closed?
Regards.
--Sharon
Yes, it can be closed.