Gets the preferred username based on the social profile and available usernames in the system.

Namespace: MonoSoftware.MonoX.ModuleGallery
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
protected virtual string GetPreferredUsername(
	UserProfile profile
)
Visual Basic
Protected Overridable Function GetPreferredUsername ( 
	profile As UserProfile
) As String
Visual C++
protected:
virtual String^ GetPreferredUsername(
	UserProfile^ profile
)
F#
abstract GetPreferredUsername : 
        profile : UserProfile -> string 
override GetPreferredUsername : 
        profile : UserProfile -> string 

Parameters

profile
Type: UserProfile
Social profile.

Return Value

Type: String

See Also