Security Functions (T-SQL)
These scalar functions return information about users and roles.
IS_MEMBER
SUSER_SID
IS_SRVROLEMEMBER
SUSER_SNAME
SUSER_ID
USER_ID
SUSER_NAME
USER
See Also
Functions
(c) 1988-98 Microsoft Corporation. All Rights Reserved.