IUserProfiles.RemoveByStrSid

Syntax

RemoveByStrSid(StrSid: String): Boolean;

Parameters

StrSid. The string value of the security identifier of the user. This value can be obtained in the ISid.AsString property.

Description

The RemoveByStrSid method removes the profile of the user whose security identifier is passed via the StrSid parameter.

Comments

The method returns True if the profile was removed, and False if the profile cannot be removed.

See also:

IUserProfiles