getLoggedInUserId()

Overview

public string function getLoggedInUserId()

Returns the id of the logged in CMS admin user. If no user is logged in, returns an empty string. See CMS permissioning for a full guide to CMS admin users.