Skip to main content
10-Marble
September 29, 2025
Solved

Is there a way to give Collection permissions programmatically?

  • September 29, 2025
  • 2 replies
  • 499 views

Hi All,


I'm trying to find a snippet to provide collection permissions programmatically for a specific user or user group in Thingworx 9.7.

 

Does anyone know if any code snippets available to manage permissions of collections programmatically for a user or user group in Thingworx 9.7? Any guidance would be greatly appreciated!

 

Regards,

Bhavya

Best answer by Rocko

 

result = Resources["CollectionFunctions"].GetCollectionRunTimePermissions({ collectionName: "Things" });

https://www.ptc.com/en/support/article/CS191141

 

 

2 replies

Rocko
Rocko19-TanzaniteAnswer
19-Tanzanite
September 29, 2025

 

result = Resources["CollectionFunctions"].GetCollectionRunTimePermissions({ collectionName: "Things" });

https://www.ptc.com/en/support/article/CS191141

 

 

Community Manager
October 3, 2025

Hello Bhavya_PC,

 

It looks like you have a response from a community expert. If it helped you solve your question please mark the reply as the Accepted Solution. 
Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.