RemoveByStrSid(StrSid: String): Boolean;
RemoveByStrSid(StrSid: String): Boolean;
StrSid. The string value of the security identifier of the user. This value can be obtained in the ISid.AsString property.
The RemoveByStrSid method removes the profile of the user whose security identifier is passed via the StrSid parameter.
The method returns True if the profile was removed, and False if the profile cannot be removed.
See also: