次の方法で共有


SPUtility.FormatAccountName method

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