Skip to main content
12-Amethyst
July 17, 2015
Question

Help with accessing a user in the ThingWorx API

  • July 17, 2015
  • 3 replies
  • 1549 views

I am working on a custom extension that will create users in ThingWorx.  Once a user is created does anyone know how to access that user object so the extensions can be modified?

    3 replies

    1-Visitor
    July 20, 2015

    If you are interested in the User Extensions (properties of the user as listed in the Extensions section) that is in a ThingShape called UserExtensions

    1-Visitor
    December 15, 2015

    Did you manage to access user extensions via Java? I am working on similar functionality right now

    1-Visitor
    December 17, 2015

    Is this in Java or JavaScript?  If it's in Java, you can do the following:

    User user = (User) EntityUtilities.findEntity(username, ThingworxRelationshipTypes.User);