sp_helpmaplogin [ (<authentication_mech> | null), (<client_username> | null) ]
<authentication_mech>
是为 create login 和 alter login 中的 authenticate with 选项指定的有效值之一。
<client_username>
是外部用户名。
显示所有登录名的相关信息:
sp_helpmaplogin
authentication client name login name
-------------- ----------- ------------------
NULL jsmith guest
LDAP NULL create login
如果未包括任何参数,则 sp_helpmaplogin 会显示有关当前登录到 SAP ASE 服务器的所有用户的登录信息。使用上面列出的参数,将输出限制到客户端用户名或验证机制的特定集合。