ALM Site Administration API Type Library 12.50 and later
GetAllUsers Method
Returns all users and their properties.
Visual Basic
Public Function GetAllUsers() As String
Return Type

On success, returns an XML string containing the user properties.

Return Value Details
The properties of the GetAllUsers XML return string:

Return Value Example
<?xml version="1.0"?>
            <LAST_UPDATE>2007-06-19 17:56:08</LAST_UPDATE>
            <USER_NAME>new user 2</USER_NAME>
            <FULL_NAME>New User</FULL_NAME>
            <DESCRIPTION>This is new user</DESCRIPTION>
            <LAST_UPDATE>2007-07-01 14:28:43</LAST_UPDATE>
Private Sub GetAllUsers()

'The following Visual Basic example gets all the users
' and their properties.
    Dim sReply As String
On Error GoTo err

    sReply = m_SAClient.GetAllUsers
    MsgBox sReply
    Exit Sub

    MsgBox "Program failed:" + err.Description
End Sub
See Also

SAapi Object  | SAapi Members