create Nav user

AST
Member Posts: 108
Hello,
I need to create new Navision user using only SQL Server (e.g. Management Studio). My client has Navision instaled with one user, for whom I don't know the password. I can't delete this user or chang password for him, so I can't log on and synchronize user id. I have administrator rights in Sql Server.
I use nav 4.03 and sql server 2005
Thanks
I need to create new Navision user using only SQL Server (e.g. Management Studio). My client has Navision instaled with one user, for whom I don't know the password. I can't delete this user or chang password for him, so I can't log on and synchronize user id. I have administrator rights in Sql Server.
I use nav 4.03 and sql server 2005
Thanks
0
Answers
-
To create a new user in Navision you must use Navision cliente and not SQL Server Management Studio0
-
If you know the user name that is supposed to be in NAV, and that user is a database user (must be otherwise you can just log in without a password) then you can change the password in SQL Server management studio.0
-
May be this (dirty) way around is useful.
You can give your sa account super rights through Management Studio.
Just go to your database, and to open table "dbo.User" and add SA as a record. Then go to table "dbo.Member Of", and add a record where USERID=SA and ROLE ID=SUPER. This should do it :-k .0 -
Just go to your database, and to open table "dbo.User" and add SA as a record. Then go to table "dbo.Member Of", and add a record where USERID=SA and ROLE ID=SUPER.
1) delete previous user form User table (in SQL Server) - in this way you only clear this table not user name and password
2) create new login and user (I gave him db owner role) in SQL Server
Now you can log on Navision using your new user (becouse dbo. User table is empty), give this user and previous user a role in Navision and synchronize.0 -
Waldo wrote:Actually,
if you just delete all users from User and Member Of ... you should be able to log into NAV with any user... .0 -
DenSter wrote:Waldo wrote:Actually,
if you just delete all users from User and Member Of ... you should be able to log into NAV with any user... .
In Native you database have the same behaviour. If you don’t have user you can login with any login.0 -
DenSter wrote:Waldo wrote:Actually,
if you just delete all users from User and Member Of ... you should be able to log into NAV with any user... .
No, because to do that you needs to have direct access to the MS SQL and it means you do not need NAV to have access because you are admin... ;-)0 -
nunomaia wrote:DenSter wrote:Waldo wrote:Actually,
if you just delete all users from User and Member Of ... you should be able to log into NAV with any user... .
In Native you database have the same behaviour. If you don’t have user you can login with any login.0 -
It is the database administrator that logs into enterprise manager (or management studio). A database administrator should be able to "reset" the security in whatever way. So in that way, it's not really a problem that sa can do this...
In the way you mean it ... there are always two backdoors:
- creating the records (for e.g. "sa") in "user" and "member of" tables
- deleting all records in those tables... .0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions