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.
Performs a network logon using the provided serialized credentials.
Syntax
BOOL WINAPI WTSCloudAuthNetworkLogonWithSerializedCredential(
[in] WTS_CLOUD_AUTH_HANDLE cloudAuthHandle,
[in] WTS_SERIALIZED_USER_CREDENTIAL* userCredential,
[out] HANDLE* tokenHandle
);
Syntax
BOOL WTSCloudAuthNetworkLogonWithSerializedCredential(
[in] WTS_CLOUD_AUTH_HANDLE cloudAuthHandle,
[in] WTS_SERIALIZED_USER_CREDENTIAL *userCredential,
HANDLE *token
);
Parameters
[in] cloudAuthHandle
The cloud authentication handle obtained by calling WTSCloudAuthOpen.
[in] userCredential
The serialized credential obtained by calling WTSCloudAuthConvertAssertionToSerializedCredential.
token
Return value
If the function succeeds, the return value is a nonzero value. If the function fails, the return value is zero. To get extended error information, call the GetLastError function.
Remarks
The user token handle can be used to perform additional checks by, for instance, calling CheckTokenMembership.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows, version 26100 |
| Header | wtsapi32.h |