SQL Server Message 916 - The server principal "domain\username" is not able to access the database "NAMEOFDB" under the current security context.
Get the above message when I try to execute a custom stored procedure I created in the System database
Call SqlFetch1(cursorNbr, "System.dbo.sp_UserAccess_1" + SParm(myuserid) + SParm("ACCOUNTANTS") + SParm(mycompanyid), isAuthorised, LenB(isAuthorised))
*This post is locked for comments
I have the same question (0)