Skip to main content
1-Visitor
October 1, 2015
Solved

check if user has permission to access a part using API

  • October 1, 2015
  • 2 replies
  • 2603 views

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

Best answer by BhushanNehe

You can use the following API:

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

Regards,

Bhushan

2 replies

16-Pearl
October 1, 2015

You can use the following API:

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

Regards,

Bhushan

spai-21-VisitorAuthor
1-Visitor
October 1, 2015

Hi Bhushan,

Thanks for the help.

Regards

Sudeep Pai