Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPUtility.FormatAccountName method

Formats the account name based on the supplied parameters for provider and user.

  Name Description
Public method Static member FormatAccountName(String) Retrieves a concatenated string containing the provider and user values in order, separated by a colon (":"). This method retrieves the concatenated string based only on the user name.
Public method Static member FormatAccountName(String, String) Validates the provider and user string values. If these strings are valid, this method concatenates the provider and user values in order, with a colon (":") between them, and returns the concatenated string.
Top
Show:
© 2015 Microsoft