Method Provider Libraries Documentation User methods getUserIdByUserName: Returns the Orchard Core user ID by its username.