Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




User right to get users information

api

Hello,

I'm using the Gemini 3.5.1 release build 2365 and I'm trying to create an external application getting filtered issues.
In this aim, I created a special user with less rigths. This user can only display issues.
When I try to load the list of all users to select one for filtering, the following error occurs because I have not the rigths to do this with the current user : {"Exception has been thrown by the target of an invocation."}.
When trying with administators rights, it works fine but for my software I don't want so many rights.
What can I do to list all users without being administrator.

Waiting for a response,
Best Regards,

CFOE


cfoe
· 1
cfoe
Replies (9)
helpful
0
not helpful

If the user can see the issues in the web application then they should be able to see them via the api.
Can you please check your Gemini's error log for errors?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Hello,

Sorry, I think i was not precise enough.
The logged user can see the issues via the API, that's not the problem.
The real problem is that I can't list all users with the logged one.
I want to list all users to filter issues by users.
Wich rights should have a user to list all users ?

Best Regards,

CFOE


cfoe
· 1
cfoe
helpful
0
not helpful

You should get the resources using the project service (GetProjectResources). To get all users you have to be an admin user.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Thank you for the response, so what i want to do is not possible

CFOE


cfoe
· 1
cfoe
helpful
0
not helpful

Not sure, what exactly are you trying to filter by?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I try to filter issues by "Reporter" but with my user having only rights to see the issues, I can't list all users.
In the Gemini web app, a issue reporter can select an other user as reporter (all user can be listed).
I want to try to obtain this list without having admin rigths.

How it's done in the Gemini web app ?

CFOE


cfoe
· 1
cfoe
helpful
0
not helpful

I see, yes this is not possible unless you are an admin.
Does your user base change often?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Our User base don't change often,

I will dropp out the "Reported by" filter.

Thank you for the help

CFOE


cfoe
· 1
cfoe
helpful
0
not helpful

If it doesn't change, what you can do is provide it to your application as a one off in an XML file for example.


Mark Wing
· 9108
Mark Wing