ALM Site Administration API Type Library
DeleteUser Method
Description
Deletes an ALM site user.
Syntax
| Visual Basic |
|---|
Public Function DeleteUser( _ ByVal UserName As String _ ) As String |
Parameters
- UserName
- The user name.
Return Type
Returns "1" on success.
Example
Private Sub DeleteUser() 'The following Visual Basic example deletes a user. Dim sReply As String On Error GoTo err sReply = m_SAClient.DeleteUser("alex_td") If (sReply = "1") Then MsgBox "User Deleted" End If Exit Sub err: MsgBox "Program failed:" + err.Description End Sub
See Also

