Compartilhar via


SPUtility.FormatAccountName Method

Include Protected Members
Include Inherited Members

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

Overload List

  Name Description
Public methodStatic 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 methodStatic 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

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace