SetAccessToken
PowerScript function
Description
Sets the access token.
Applies to
OAuthRequest objects
Syntax
|
1 |
objectname.SetAccessToken ( string accessToken ) |
|
Argument |
Description |
|---|---|
|
objectname |
A reference to the OAuthRequest object in which you want |
|
accessToken |
A string specifying the access token. |
Return value
Integer.
Returns 1 if it succeeds and -1 if an error occurs. If any
argument’s value is null, the method returns null.
Examples
The following example shows the use of the SetAccessToken function
to set the access token:
|
1 2 3 4 5 |
int li_return string ls_accesstoken OAuthRequest lnv_OAuthRequest li_return = lnv_OAuthRequest.setaccesstoken(ls_accesstoken) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest