sql server how do you control access to database for AD user?

 To grant access to a database for a Active Directory user, you can use the following command

 

CREATE USER 'bob@microsoft.com' FROM EXTERNAL PROVIDER;

ALTER ROLE db_datareader ADD MEMBER 'bob@microsoft.com'

Comments

Popular posts from this blog

gemini cli getting file not defined error

vllm : Failed to infer device type

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20