开发者

Error:"user does not have pernission to perform this action.Change database context to 'DBName'"

开发者 https://www.devze.com 2023-02-25 08:42 出处:网络
I want t开发者_JS百科o execute \"Create Login \'LoginName\' with password=\'MyPass\'\" command but i recieve this error : \"user does not have permission to perform this action.Change database context

I want t开发者_JS百科o execute "Create Login 'LoginName' with password='MyPass'" command but i recieve this error : "user does not have permission to perform this action.Change database context to 'DBName'".

how can i solve that?


You seem to be mission the permission to create a new login.

Check if the user has the permision to:

  • ALTER ANY LOGIN

or

  • ALTER LOGIN

More info here CREATE LOGIN (Transact-SQL)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号