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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Change permissions from Info*Engine

DougWegscheid
1-Visitor

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

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


Top Tags