Partager via


Srch.U.getUsernameFromAuthorField Method (DisplayTemplatesSrch)

Gets the username from the Author field. The username is expected to be either in NT Auth, FBA, or Windows claims format.

Srch.U.getUsernameFromAuthorField(authorField)

Return value

The author’s username is available; otherwise an empty string.

Parameters

  • authorField
    Supplies the author field as received from the search index.