SecureBlackbox 2020 C++ Edition

Questions / Feedback?

Username Property

The connecting user's username (login name).

Syntax

ANSI (Cross Platform)
char* GetUsername();
int SetUsername(const char* lpszUsername); Unicode (Windows) LPWSTR GetUsername();
INT SetUsername(LPCWSTR lpszUsername);
@property (nonatomic,readwrite,assign,getter=username,setter=setUsername:) NSString* username;
- (NSString*)username;
- (void)setUsername:(NSString*)newUsername;
#define PID_OAUTHCLIENT_USERNAME 134

SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_OAuthClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_OAuthClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

Assign the user's login name to this property. Use Password to provide the password. The Username and Password properties are used only when GrantType is oauthPasswordCredentials.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 C++ Edition - Version 20.0 [Build 8166]