List Info

Thread: HowTo automatically create create users?




HowTo automatically create create users?
user name
2006-03-21 08:15:24
Hi all,

to implement a single sign on I hae to create the Mantis
users 
automatically.
I tried already adding users to the mantis_user_table but it
doesn't work.

I have no idea what to fill the cookie_string field with.

Can anybody tell me how I can add new users to Mantis
without the 
admininstration pages of Mantis? (PHP, perl, etc..)

TIA &regards
Stefan




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking
scripting language
that extends applications into web and mobile media. Attend
the live webcast
and join the prime developer group breaking into this new
coding territory!
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mantisbt-dev mailing list
Mantisbt-devlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mantisbt-d
ev
HowTo automatically create create users?
user name
2006-03-21 11:54:13
On 21-Mar-06, at 3:15 AM, Stefan Fritz wrote:

> Hi all,
>
> to implement a single sign on I hae to create the
Mantis users  
> automatically.
> I tried already adding users to the mantis_user_table
but it  
> doesn't work.
>
> I have no idea what to fill the cookie_string field
with.

   The cookie_string is a 64 character hash used to uniquely
identify  
a user. It's random and unique for all users.

>
> Can anybody tell me how I can add new users to Mantis
without the  
> admininstration pages of Mantis? (PHP, perl, etc..)

   Look at "create_user()" in core/user_api.php.
]
>
> TIA &regards
> Stefan

-- 
Glenn Henshaw                     Logical Outcome Ltd.
e: thraxispmagma.ca              w: www.logicaloutcome.ca
Mantis developer and user



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking
scripting language
that extends applications into web and mobile media. Attend
the live webcast
and join the prime developer group breaking into this new
coding territory!
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mantisbt-dev mailing list
Mantisbt-devlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mantisbt-d
ev
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )