ServiceFunctionsGetContact Method |
Locate an employee or contact.
If an email address is available this is used to find the contact.
The username is located in the employee register, by summary and then by namecode.
If not found the username is located in the contact register, by summary and then by namecode.
Namespace: Scanjour.Workflow4.ActivityLibrary.ServiceProcessAssembly: Scanjour.Workflow4.ActivityLibrary_24.5.0.0 (in Scanjour.Workflow4.ActivityLibrary_24.5.0.0.dll) Version: 24.5.0.0 (24.5.0.0)
Syntaxpublic static Contact GetContact(
ODataService ctx,
string userName,
string email = ""
)
Public Shared Function GetContact (
ctx As ODataService,
userName As String,
Optional email As String = ""
) As Contact
public:
static Contact^ GetContact(
ODataService^ ctx,
String^ userName,
String^ email = L""
)
static member GetContact :
ctx : ODataService *
userName : string *
?email : string
(* Defaults:
let _email = defaultArg email ""
*)
-> Contact
Parameters
- ctx ODataService
- The OData context.
- userName String
- The user name.
- email String (Optional)
- The email address.
Return Value
Contact[Missing <returns> documentation for "M:Scanjour.Workflow4.ActivityLibrary.ServiceProcess.ServiceFunctions.GetContact(Scanjour.Process.OData.Client.Proxy.ODataService,System.String,System.String)"]
See Also