You can use LoggedIn prefix – see the “Instance Prefixes” section. For example,
IF LoggedInLibraryMember.LoginName ='john smith' THEN ...