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

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Is there a way to give Collection permissions programmatically?

Bhavya_PC
4-Participant

Is there a way to give Collection permissions programmatically?

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

2 REPLIES 2

 

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

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

 

 

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.

Announcements


Top Tags