Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: EXploringEA on April 05, 2014, 06:49:39 am

Title: Access to user permission
Post by: EXploringEA on April 05, 2014, 06:49:39 am
Hi

Does anybody know if there is a AI method to access user permissions
or at least get details of the group for the current user?

Reason being that I want to limit some actions to users who have administrator role in those instances where security is enabled for the current model.

Thanks
Title: Re: Access to user permission
Post by: qwerty on April 05, 2014, 08:29:56 am
There is none. You need to query the t_sec* tables to get the info you need.

q.
Title: Re: Access to user permission
Post by: EXploringEA on April 06, 2014, 01:24:06 am
Hi q

Many thanks - at least I didn't miss anything in the docs ;D
Title: Re: Access to user permission
Post by: qwerty on April 06, 2014, 01:37:19 am
Well, the SQLQuery is part of the API. So it's official in-official (as the structures themselves are not official) ;)

q.