%UserId system variable

Description

%UserId returns a character string containing the user currently logged on. This is typically used to restrict access to records or fields to specific users.