def METHOD_NAME(user):
    """Return the authenticated actor's name value."""
    name = str(user)
    if XAPI_AUTHENTICATED_NAME == "uuid":
        name = uuid.uuid3(uuid.NAMESPACE_DNS, user.username)
    if XAPI_AUTHENTICATED_NAME == "username":
        name = str(user.username)
    if XAPI_AUTHENTICATED_NAME == "email":
        name = str(user.email)
    return name