Click or drag to resize

AuthenticateControllerValidateMailBoxAccess Method (ValMailboxCredentials)

Validate whether the specified user has access to the given mailbox.

Namespace:  MedTunnelSvc.Controllers
Assembly:  MedTunnelSvc (in MedTunnelSvc.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public Result ValidateMailBoxAccess(
	ValMailboxCredentials ValCredentials
)

Parameters

ValCredentials
Type: ValMailboxCredentials
[!:ValCredentials] for the User/Mailbox to validate.

Return Value

Type: Result
Result.Data contains the mailbox id. Result.ReturnCode values:
  • 0 = An unknown error occurred
  • 1 = Success
  • 2 = Access denied
Examples
PHP/Curl
curl -X GET -k 
        -H "Authorization:PutAuthorizationTokenHere" 
        https://server.medtunnel.com/MedTunnelSvc/api/Authenticate/ValidateMailBoxAccess?MedTunnelMailbox=781&MedTunnelId=yourMedTunnelId&Password=yourPassword&WantAllMessages=true
See Also