SAP Knowledge Base Article - Preview

3143945 - How to grant permissions to a login via a role but not adding the user to the specific database

Symptom

Users not belonging to specific database would like to access objects in it.
User defined roles have been granted properly, however it reports below error, for example:
-------------------------------------
>isql  -Utt -Pxx -w999
1> select * from rpdb.tonyt.mytable
2> go
Msg 10351, Level 14, State 1:
Server 'xx', Line 1:
Server user id 4 is not a valid user in database 'rpdb'.
1> use rpdb
2> go
Msg 10351, Level 14, State 1:
Server 'xx', Line 1:
Server user id 4 is not a valid user in database 'rpdb'.
-------------------------------------


Read more...

Environment

  • SAP Adaptive Server Enterprise 16.0
  • SAP Adaptive Server Enterprise 15.7

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0

Keywords

Msg 10351, valid user, granular permissions, usedb_user, guest, dbo , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.