CimUserResourceList.Remove (method)

Remove a resource
Syntax: object.Remove ResourceID
Parameters:
ResourceID As String - Name of resource to remove
Description: The CimUserResourceList.Item removes a resource by name.

Examples

if user.Resources.Item("$SYSTEM") = "" then
   user.Resources.Remove "$SYSTEM"
end if