NXOpen.UF.UfSystemInfo_Struct.UserName

UfSystemInfo_Struct.UserName

Refer to UF_system_info_s for documentation.