Page 1 of 1

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

Posted: 18 Oct 2010, 02:41
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!

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

Posted: 18 Oct 2010, 06:42
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.'
);

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

Posted: 27 Nov 2010, 08:21
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!

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

Posted: 30 Nov 2010, 03:55
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

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

Posted: 06 Dec 2010, 02:50
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?