Skip to content

Clear Primary User

Clears the primary user on a unit.

ClearPrimaryUser(ByVal uuid As String) As Boolean

uuid(String)

The UUID of the unit (or device). Curly brackets around the UUID are allowed.

Boolean. The function returns True if successful. If no unit has the UUID, the function fails.

Set oCMS = CreateObject("CapaInstaller.SDK")
wscript.echo oCMS.ClearPrimaryUser("B16BAC7B-2975-431C-A380-B702B1A83AF4")