Clear Primary User

Description

Clears the primary user on a unit


Syntax

Public Function ClearPrimaryUser(ByVal uuid As String) As Boolean


Parameters

uuid(String)

The uuid of the unit (or device)

Return Value

The function returns true if successful.


Example


VBScript


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