ProfileSubtypeManager.GetDefaultProfileName(ProfileType) ProfileSubtypeManager.GetDefaultProfileName(ProfileType) ProfileSubtypeManager.GetDefaultProfileName(ProfileType) Method

Definition

Retrieves the name of the default subtype for the specified profile type.

public:
 static System::String ^ GetDefaultProfileName(Microsoft::Office::Server::UserProfiles::ProfileType type);
public static string GetDefaultProfileName (Microsoft.Office.Server.UserProfiles.ProfileType type);
Public Shared Function GetDefaultProfileName (type As ProfileType) As String
Parameters
type
ProfileType ProfileType ProfileType

One of the ProfileType values. Possible values are Group, User, or Organization.

Returns

One of following strings:UserProfileOrganizationProfileGroupProfile

Exceptions

Remarks

You can use the returned subtype name as the parameter value to the GetProfileSubtype(String) method to retrieve the corresponding ProfileSubtype object.

Applies to