Invoke
The Invoke method executes an IDO method. This method can be code in a custom assembly,
or it can be a stored procedure.
Example
This example code determines the user attributes of user jdoe using the IDO method GetUserAttributes.
Client client = new Client( requestServiceURL, IDOProtocol.Http ); InvokeResponseData response = default( InvokeResponseData ); using ( client ) { InvokeParameterList parameters = new InvokeParameterList { "jdoe", { string.Empty, true }, { string.Empty, true }, { string.Empty, true }, { string.Empty, true } }; InvokeRequestData request = new InvokeRequestData { IDOName = "UserNames", MethodName = "GetUserAttributes", Parameters = parameters }; response = client.Invoke( request ); // Method parameters can be enumerated as follows foreach ( InvokeParameter parameter in response.Parameters ) { // Do something... Console.WriteLine( parameter.Value ); } }