Set Primary User
Description
Sets the primary user on a unit
Syntax
Public Function SetPrimaryUser(ByVal uuid As String, userIdentifier As String) As Boolean
Parameters
uuid(String)
The uuid of the unit (or device)
userIdentifier
the user that you want to set as primary on the unit
Formats accepted as identifier:
Format | Example |
---|---|
SID | S-1-5-21-2955346805-1668228357-4012311724-500 |
UPD | tbs@capasystems.com |
Name | TestUser |
Return Value
The function returns true if successful.
Example
VBScript
|