Is it possible to use a IF statement when the condition you are looking for is a username? What is the syntax if so for checking for a username?

Example:
IF username = "ABCD"
DO SOMETHING
ENDIF