moudrick / rainbow

Automatically exported from code.google.com/p/rainbow
0 stars 0 forks source link

How to retrive the admin user or re create the admin user #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. deleted the admin user mistakely how can i get that admin user
2.
3.

What is the expected output? What do you see instead?
i just need to retrieve admin user

What version of the product are you using? On what operating system?
version 2.0.0.1881 and windows XP

Please provide any additional information below.

Original issue reported on code.google.com by sps.kirt...@gmail.com on 8 Oct 2008 at 5:09

GoogleCodeExporter commented 9 years ago
try this

insert into
[rb_Users]([UserID],[PortalID],[Name],[Company],[Address],[City],[Zip],[CountryI
D],[StateID],[PIva],[CFiscale],[Phone],[Fax],[Password],[Email],[SendNewsletter]
,[MailChecked],[LastSend],[user_last_visit],[user_current_visit],[Salt])
values
(1,0,N'Administrator',N'',N'',N'',N'',N'IT',9889982,N'',N'',N'',N'','pass',N'mai
l@domain.com',0,null,'1900-01-01
00:00:00','2007-10-03 20:29:30','2007-10-07 18:39:39','')

name will be mail@domain.com
pass - pass

check second parameter - PortalID

Original comment by DVDobrov...@gmail.com on 8 Oct 2008 at 5:19

GoogleCodeExporter commented 9 years ago
thank u sir, it is working fine. is it possible to have one or more admin users

Original comment by sps.kirt...@gmail.com on 8 Oct 2008 at 6:40

GoogleCodeExporter commented 9 years ago
at your service (-:

admin is the role
standard and only role in DB then u start
u just add new user and then attached user to role

u can ask me any  question about rainbow
i glad that somebody show interest in it
i really have a grate potential

Original comment by DVDobrov...@gmail.com on 8 Oct 2008 at 8:46

GoogleCodeExporter commented 9 years ago
User answered question.

Original comment by rams...@gmail.com on 16 May 2010 at 3:27