Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: kotrick on September 28, 2011, 08:56:07 pm
-
Hi,
i am developing addin where i want to know which user have logged in and groupname to which user belongs.based on the user i want to do some operation.
so is there any api for identifying user and group id
Thanks in advance
-
Repository.GetCurrentLoginUser (boolean GetGuid = false)
Geert
-
Thanks a lot,
i need to disable few addins based on username how can i do it.Am writing in c# for addins development.
-
In the "EA_GetMenuItems(EA.Repository Repository, string Location, string MenuName)", ask for the logged user with "Repository.GetCurrentLoginUser (boolean GetGuid = false)" and create the menu entry or not depending on the user returned.
-
Thanks i got the expected result