Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic UserNameFromUPN

procedure UserNameFromUPN(upn: unicodestring): unicodestring 

Parses and returns the user name from a UPN-formatted string upn. The user name is the component before the '@'. For example, when the input is "username@example.fabrikam.com", then "username" is returned. If the input is not in UPN format, then null is returned.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.