简体   繁体   中英

Sql server IS_Member for other user than logged one

Is there any way I can find out member ship of some other user in sql server like we do for logged in user using IS_MEMBER function.

I am implementing impersonation and for that system should behave as the different user.

此过程将列出用户所属的所有组:

xp_logininfo N'domain\\username','all'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM