MantisConnect C# ..get list of users on Project?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
urgrund
Posts: 4
Joined: 18 Oct 2010, 02:38

MantisConnect C# ..get list of users on Project?

Post by urgrund »

hi.
first time using MantisBT and MantisConnect and so far it's great!
I've been able to use the c# libraries to integrate a issue reporting system right into our 3D visualisation program..

One thing is that I can't seem to find anywhere to get the Users assigned to a project?
This will be needed to assign a new issue - where can I find this information?

Thanks!
atrol
Site Admin
Posts: 8539
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: MantisConnect C# ..get list of users on Project?

Post by atrol »

Until now I did not try the client libraries of MantisBT
At server side I found the following code, which seems to deliver what you need

Code: Select all

### mc_project_get_users
$l_oServer->register( 'mc_project_get_users',
    array(
        'username'    =>    'xsd:string',
        'password'    =>    'xsd:string',
        'project_id'    =>    'xsd:integer',
        'access'    =>    'xsd:integer'
    ),
    array(
        'return'    =>    'tns:AccountDataArray'
    ),
    $t_namespace,
    false, false, false,
    'Get appropriate users assigned to a project by access level.'
);
Please use Search before posting and read the Manual
urgrund
Posts: 4
Joined: 18 Oct 2010, 02:38

Re: MantisConnect C# ..get list of users on Project?

Post by urgrund »

thanks atrol -
though this is only in the php isn't it?
So there's no way in the current .dll's (Futureware.MantisConnect.dll) to get this information?

Has anyone ever extented the MantisConnect libraries to included additional 'features' like this?
I've noticed that MantisConnect webpage is a little outdated now, is it still an active project?

Thanks!
gj1118
Posts: 1
Joined: 30 Nov 2010, 03:52

Re: MantisConnect C# ..get list of users on Project?

Post by gj1118 »

urgrund wrote:thanks atrol -
though this is only in the php isn't it?
So there's no way in the current .dll's (Futureware.MantisConnect.dll) to get this information?

Has anyone ever extented the MantisConnect libraries to included additional 'features' like this?
I've noticed that MantisConnect webpage is a little outdated now, is it still an active project?

Thanks!
Hi @urgrund

from where did you download the Futureware.MantisConnect.dll library from ? I have been trying to download it from the MantisConnect repo on sourceforge but it only has java clients.. I believe you are using the .NET version of the library and this is what i am interested in

Thanks and Regards
GJ
urgrund
Posts: 4
Joined: 18 Oct 2010, 02:38

Re: MantisConnect C# ..get list of users on Project?

Post by urgrund »

hey gj1118,

yeh, it's a little hidden on the SourceForge page!

So, on the source forge page click 'View All Files' instead of Download Now.
Then, you can goto MantisConnect and then download the latest release... which unfortunately is 5 years old. :)
http://sourceforge.net/projects/mantisc ... isconnect/

I find I like the Mantis web layout and this C# library really is cool as I do game development and have used the library to integrate bug tracking right inside the game tools... which is what attracted me to using Mantis.

Though, I'm not sure how far I can use it for because the C# library is starting to show it's limitations... such as the Attachment class only having 'getter' properties with no 'setters' :)

Is there any official word if it's still an active project?
Post Reply