Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - HelmutK

Pages: [1]
1
Hello Geert Bellekens,

the API don't support these desired features.

I solved the problem using folowing update and insert statements on our oracle database repository:

Code: [Select]
UPDATE t_seclocks s SET s.USERID = '<USERGUID>', s.TIMESTAMP =  to_date('<DATETIME>','DD.MM.YYYY HH24:MI:SS') WHERE s.ENTITYID = '<EA_GUID>';

INSERT INTO t_seclocks l (l.USERID, l.ENTITYID, l.ENTITYTYPE, l.TIMESTAMP) VALUES ('<USERGUID>', '<EA_GUID>', 'Element', to_date('<DATETIME>', 'DD.MM..YYYY HH24:MI:SS'));

2
Hello All,
we use the security "Apply/Release User Lock..." functionality in the Corporate Edition. I can't find a way to lock and edit element via the automation interface...


Code: [Select]
earep = new EA.RepositoryClass();
earep.OpenFile2(connectstring, user, password);
bool islocked = earep.GetPackageByID(3309).Element.Locked;

checking the lock i get TRUE, meaning its already locked by somebody

1. - how to identify the user ?
2. - how to remove lock as "Project | Security | Manage Locks..." in EA ?
3. - how to lock an element as "Apply/Release User Lock..." in EA ?

Thanks,
HelmutK

Pages: [1]