cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

User Extensions to an infotable

Willie
15-Moonstone

User Extensions to an infotable

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?

 

 

5 REPLIES 5
Willie
15-Moonstone
(To:Willie)

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.

 

slangley
23-Emerald II
(To:Willie)

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

Willie
15-Moonstone
(To:slangley)

Hi Sharon, I think I either did not know what user extension properties existed or was trying to get all user extension information into an infotable without having to create a datashape.
slangley
23-Emerald II
(To:slangley)

Hi @Willie.

 

Thanks for your response.  Is this still an issue or can this thread be closed?

 

Regards.

 

--Sharon

Willie
15-Moonstone
(To:slangley)

Yes, it can be closed.

Announcements