Hi everybody,

I'm trying to do following:

a ARIS model (or a list of models) has to be locked, for all users except the users belonging to the group XY.

I found following functions:

lock ( Model[] p_models, boolean p_includeObjects, String p_userName )

Locks the models in the array p_models permanent for the user with the name p_userName.

lockWithRights ( Model[] p_models, boolean p_includeObjects, String p_userName )

Locks the models in the array p_models permanent.

UserList()

Returns the list of all users.

---

Iterating the UserList() and locking models for all users except users from gruop 'XY' would be a solution, but there is a problem with new users: 

the locks could be active for several days and in the meantime could be some new user generated. The models would be not locked for new users...

...

Any idea?

 

Best regards and thanks,

Edd

 

 or register to reply.

Notify Moderator