UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:azroles.IAzApplication.InitializeClientContextFromToken |
IAzApplication::InitializeClientContextFromToken (azroles.h) |
Gets an IAzClientContext object pointer from the specified client token. |
|
security\iazapplication_initializeclientcontextfromtoken.htm |
security |
0002804d-0e97-4648-8aa1-14eba09a90fa |
12/05/2018 |
AzApplication object [Security],InitializeClientContextFromToken method, IAzApplication interface [Security],InitializeClientContextFromToken method, IAzApplication.InitializeClientContextFromToken, IAzApplication::InitializeClientContextFromToken, InitializeClientContextFromToken, InitializeClientContextFromToken method [Security], InitializeClientContextFromToken method [Security],AzApplication object, InitializeClientContextFromToken method [Security],IAzApplication interface, azroles/IAzApplication::InitializeClientContextFromToken, security.iazapplication_initializeclientcontextfromtoken |
azroles.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Azroles.lib |
Azroles.dll |
Windows |
Windows Server 2003 Administration Tools Pack on Windows XP |
19H1 |
|
|
|
|
|
|
The InitializeClientContextFromToken method gets an IAzClientContext object pointer from the specified client token.
A handle to a Windows token that specifies the client. If this parameter is NULL, the impersonation token of the caller's thread is used. If the thread does not have an impersonation token, the process token is used. The token must have been opened for TOKEN_QUERY, TOKEN_IMPERSONATE, and TOKEN_DUPLICATE access.
Reserved for future use.
A pointer to a pointer to the returned IAzClientContext object.
If the method succeeds, the method returns S_OK.
Any other HRESULT value indicates that the operation failed.