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

Change permissions from Info*Engine

Change permissions from Info*Engine

is there a way to use a webject to change the permissions on a Windchill object (change what roles can do what with a folder or WtDocument)? none seems evident...


alternatively, where would a good place be to start looking at the WC APIs to see how to change the permissions on a document or folder in WC? AccessControlManager and friends seem to be correct for looking up what the permissions are, but I'm not seeing where to change them.

1 REPLY 1
Highlighted

Re: Change permissions from Info*Engine

I dont think there is a direct webject to do so.

You might try to use Apply-Service webject and use the API AccessControlHelper.manager.updateAccessControlRule. But it wont be easy or straightforward.

Alternatively you can try to generate the rules and load it.

<csvAccessRule handler="wt.load.LoadUser.createAccessRule">
<csvuser/>
<csvdomain>/</csvdomain>
<csvtypeId>wt.doc.WTDocument</csvtypeId>
<csvpermission>+</csvpermission>
<csvprincipal>Security Auditors</csvprincipal>
<csvpermissionList>0/</csvpermissionList>
<csvstate>ALL</csvstate>
</csvAccessRule>
Announcements