Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The LogonExternalUser method logs on an external user.
Syntax
Int GetCredentials(
BSTR bstrApplicationName,
BSTR bstrUserName,
LONG lFlags,
Array ppsaCredentials
);
Function GetCredentials(
bstrApplicationName As String,
bstrUserName As String,
lFlags As Long,
ppsaCredentials As String
)
As Integer
Parameters
bstrApplicationName
[in] String that specified the name of the application to log on to.
bstrApplicationName
[in] String that specified the name of the application to log on to.
bstrUserName
[in] String that specified the name of the external user to log on.
bstrUserName
[in] String that specified the name of the external user to log on.
lFlags
[in] Long integer that specifies the flags to set.
lFlags
[in] Long integer that specifies the flags to set.
ppsaCredentials
Array that holds the credentials of the user.
ppsaCredentials
Array that holds the credentials of the user.
Return Value
A windows handle.
A windows handle.
Requirements
Platforms: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows 11, and Windows 10
See Also
ISSOLookup2 Interface (COM)
ISSOLookup2 Members
Programming with Enterprise Single Sign-On