sql Server用户 [英] sql Server Users

查看:66
本文介绍了sql Server用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要执行一个脚本,向我显示sql服务器上的用户.

我已经走了这么远:

I need to do a script that shows me the users on my sql server.

I have come this far:

SELECT name,type_desc,create_date,modify_date,default_database_name
FROM sys.server_principals
WHERE type in (''g'',''s'')



但是我现在需要的是知道谁创建了这些用户?



BUT what i now need is to know who created these users?

推荐答案

AFAIK,SQL Server无法跟踪谁创建了哪些用户帐户.
AFAIK, SQL Server does not keep track of who creates which user accounts.


这篇关于sql Server用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆