IUserProfiles.RemoveProfile Method

Removes the user profile with the specified ID.
void RemoveProfile( 
   string profileID 
)

Parameters

profileID
string

The ID of the profile to be removed.

Exception type Condition

ArgumentException

The profileID:

  • doesn't exist or
  • is null reference (Nothing in Visual Basic)or
  • is Admin
  • is the currently active profile

Version
 
Available since QDV 7.22.968.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2