Skip to main content
4-Participant
April 11, 2025
Solved

What is the purpose of the 'libadminsettings.USERMANAGER_USER_TYPE' property?

  • April 11, 2025
  • 1 reply
  • 545 views

Hello,

 

I'm using the Configuration API and when requesting the /config/v1/admin/server_users endpoint, I'm getting a list of user accounts where all libadminsettings.USERMANAGER_USER_TYPE properties are set to 0.

 

I wonder if there is any other available values and what is the purpose of this property.

 

Thank you.

 

Best answer by rajskumar

Hello,

 

This property is to distinguish between locally-configured users (0) and Active Directory users (1)/groups (2) - for users of ThingWorx Kepware Server who are using the Active Directory integration.

 

This is documented through the /doc endpoints in the API that provide the "property_definitions" for all objects, including the enumeration values for various properties.

 

https://github.com/PTCInc/Kepware-Example-Scripts/tree/master/Config%20API/Config%20API%20Endpoint%20and%20Property%20Viewer

property_definition lookups are the go-to way to learn what values mean and parameters on the properties as they are exposed through the configuration API. Let me know if you have any other questions. Thanks

1 reply

rajskumar16-PearlAnswer
16-Pearl
April 11, 2025

Hello,

 

This property is to distinguish between locally-configured users (0) and Active Directory users (1)/groups (2) - for users of ThingWorx Kepware Server who are using the Active Directory integration.

 

This is documented through the /doc endpoints in the API that provide the "property_definitions" for all objects, including the enumeration values for various properties.

 

https://github.com/PTCInc/Kepware-Example-Scripts/tree/master/Config%20API/Config%20API%20Endpoint%20and%20Property%20Viewer

property_definition lookups are the go-to way to learn what values mean and parameters on the properties as they are exposed through the configuration API. Let me know if you have any other questions. Thanks