CimResourceUserList.Remove (method)

Remove a user
Syntax: object.Remove UserID
Parameters:
UserID As String - Name of user to remove
Description: The CimResourceUserList.Item removes an item by index or by name.

Examples

if resource.Users.Item("ADMINISTRATOR") = "" then
   resource.Users.Remove "ADMINISTRATOR"
end if