Hi
I am success with add login for a user (using sp_addlogin), but I am unable to add the user name (using sp_adduser). I log in as 'sa' and already check sp_helpuser if there is any same user name, but there is not. Here is the error.
1> sp_dropuser test
2> go
Msg 17232, Level 16, State 1:
Procedure 'sp_dropuser', Line 100:
No user with the specified name exists in the current database.
(return status = 1)
1> sp_adduser test, Read_Write_Selected_Objects
2> go
Msg 17330, Level 16, State 1:
Procedure 'sp_adduser', Line 178:
A user with the same name already exists in the database.
(return status = 1)
any idea why?
thanks
I am success with add login for a user (using sp_addlogin), but I am unable to add the user name (using sp_adduser). I log in as 'sa' and already check sp_helpuser if there is any same user name, but there is not. Here is the error.
1> sp_dropuser test
2> go
Msg 17232, Level 16, State 1:
Procedure 'sp_dropuser', Line 100:
No user with the specified name exists in the current database.
(return status = 1)
1> sp_adduser test, Read_Write_Selected_Objects
2> go
Msg 17330, Level 16, State 1:
Procedure 'sp_adduser', Line 178:
A user with the same name already exists in the database.
(return status = 1)
any idea why?
thanks