Retrieves the current process or thread user.