USERPRINCIPALNAME

Returns the user principal name.

Syntax

USERPRINCIPALNAME()  

Parameters

This expression has no parameters.

Return value

The userprincipalname at connection time.