| infoRouter Document Management System - Web Services API Documentation Version 7.0 |
| RemoveUserFromDomainMembership |
| Removes the specified user from the domain. |
[Visual Basic] Public Shared Function RemoveUserFromDomainMembership(ByVal AuthenticationTicket As String, _ ByVal DomainName As String, _ Byval Username as string _ ) as xmldocument
|
- AuthenticationTicket
- infoRouter Authentication Ticket
- DomainName
- The name of the domain to remove user from membership
- UserName
- The username of the user to be removed
|
returns xml fragment. <response success="true" error=""> if success = "true", the user has been removed from domain membership. if success = "false", the error attribute returns the error description.
|
The caller must be the system administrator or the domain manager or the specified domain.
|
Public Sub RemoveUserFromDomainMembership() Const IRAuthenticationTicket As String = "sid-xxxxxxxxxxxxxxxxx" Const IR_DomainName As String = "Accounting" Const IR_UserName As String = "JoeD" Dim IR_Obj As InfoRouter.srv Dim xmlResponse As System.Xml.XmlElement Try IR_Obj = New InfoRouter.srv xmlResponse = IR_Obj.RemoveUserFromDomainMembership(IRAuthenticationTicket, _ IR_DomainName, _ IR_UserName) If xmlResponse.GetAttribute("success") = "true" Then Console.WriteLine("The user removed from the domain memberships") Else Console.WriteLine("The User cannot be removed from the domain memberships.") Console.WriteLine("server response:" & xmlResponse.GetAttribute("error")) End If xmlResponse = Nothing Catch ex As Exception Console.WriteLine("error:" & ex.Message) Finally IR_Obj = Nothing End Try End Sub
|
AddUserAsDomainMember |
| Web Services API Syntax based on infoRouter Document Management System Version 7.0 |
| Copyright() 1998-2008 Active Innovations, Inc. |
| infoRouter DMS |
|