sp_get_current_userid()

  1. sp_get_current_userid()

功能:
获取当前登录用户ID

参数:

返回:
int,当前登录的用户id,如果未登录返回0