Skip to main content
1-Visitor
Oct 1, 2015 9:50 AM UTC
Solved

check if user has permission to access a part using API

Hi ALL,

Could anyone help me with this. Need to know which API i can use to achieve this. I am new to Windchill and any help would be appreciated.

Regards

Sudeep

16-Pearl
Oct 1, 2015 9:54 AM UTC

You can use the following API:

wt.access.AccessControlHelper.manager.hasAccess(Object, AccessPermission.READ);

Regards,

Bhushan

2 replies

16-Pearl
Oct 1, 2015 9:54 AM UTC

You can use the following API:

wt.access.AccessControlHelper.manager.hasAccess(Object, AccessPermission.READ);

Regards,

Bhushan

Translate
spai-21-VisitorAuthor
1-Visitor
Oct 1, 2015 10:17 AM UTC

Hi Bhushan,

Thanks for the help.

Regards

Sudeep Pai

Translate