Skip to content

Clear Primary User

Clears the primary user on a unit

Public Function ClearPrimaryUser(ByVal uuid As String) As Boolean

uuid(String)

The uuid of the unit (or device)

The function returns true if successful.

VBScript

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