Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

What needs to be granted?

$
0
0

SQL Server 2017

I created a Login (Domain\UserA) and I mapped UserA to a DBXYZ and granted role that I had created that allows the user to execute functions and stored procedures.

However, UserA gets an error "Login Failed" when tried to execute procedures.

On the server logs - Login failed for user 'Domain\UserA'. Reason: An attempt to login using SQL authentication failed. Server is configured for Integrated authentication only. [CLIENT: xxx.xxx.xxx.xxx]

I'm guessing it's because UserA is granted to a user defined database role and not built-in database roles. What else needs to be granted to the user defined database role to allow UserA to execute the functions?

Thank you



Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>