Get vpp users

Description

Gets a list of VPP users.

Syntax

GetVppUsers(Byval vppProgramID as Integer) as ArrayList

Parameters

vppProgramID (Integer)

VPP users returned will be limited to those belonging to program with this id.

Return Value

The function returns an array of vpp users. Each user in the array is a joined line with the character defined with Set splitter. 

  • user.ID
  • user.Status
  • user.Updated
  • user.UserID
  • user.ClientUserIDStr
  • user.Name
  • user.Description
  • user.Email
  • user.ItsIdHash
  • user.InviteUrl
  • user.InviteCode
  • user.VPPAccountID
  • user.GUID

Example

VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") 
Set aUnit = CreateObject("System.Collections.ArrayList") 
wscript.echo oCMS.SetDefaultManagementPoint("1") 
Set aUsers = oCMS.GetVppUsers(1) 
for each item in aUsers
  wscript.echo item
next