| Home | All functions | Legacy functions | Categories |
vuOAuthStatus(*CSTRING Provider,*CSTRING AccountKey,*CSTRING OutText,LONG OutTextLen),SIGNED,PROC,PASCAL,RAW,NAME('vuOAuthStatus')
Queries OAuth status for a specific provider/account token store and returns provider/core status text.
| Parameter | Type | Description |
|—|—|—|
| Provider | *CSTRING | Provider identifier. |
| AccountKey | *CSTRING | Account key identifier. |
| OutText | *CSTRING | Output buffer receiving status text. |
| OutTextLen | LONG | Size of OutText buffer in bytes. |
>= 0: Status/result code from core OAuth status call.-9: Core unavailable or exception.MAP
MODULE('vuMail.dll')
vuOAuthStatus(*CSTRING Provider,*CSTRING AccountKey,*CSTRING OutText,LONG OutTextLen),SIGNED,PROC,PASCAL,RAW,NAME('vuOAuthStatus')
END
END
rc LONG
provider CSTRING(64)
accountKey CSTRING(128)
outText CSTRING(1024)
outLen LONG
provider = 'Microsoft'
accountKey = 'user@example.com'
outText = ''
outLen = SIZE(outText)
rc = vuOAuthStatus(provider, accountKey, outText, outLen)
MESSAGE('Status rc=' & rc & '| ' & outText)
| Home | All functions | Legacy functions | Categories |