# Clear Primary User

> Clears the primary user on a unit.

Source: https://docs.capaone.com/capainstaller/sdk-capainstaller-software-development-kit-functions/unit-functions/clear-primary-user/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

## 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"``)` |
