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.IAzClientContext.get_UserSamCompat |
IAzClientContext::get_UserSamCompat (azroles.h) |
Retrieves the name of the current client in a format compatible with Windows�Security�Account�Manager (SAM). |
|
security\iazclientcontext_usersamcompat.htm |
security |
3b1f9e8a-cc3b-4be6-b2d9-8e8b3164d46a |
12/05/2018 |
AzClientContext object [Security],UserSamCompat property, IAzClientContext interface [Security],UserSamCompat property, IAzClientContext.UserSamCompat, IAzClientContext.get_UserSamCompat, IAzClientContext::UserSamCompat, IAzClientContext::get_UserSamCompat, UserSamCompat property [Security], UserSamCompat property [Security],AzClientContext object, UserSamCompat property [Security],IAzClientContext interface, azroles/IAzClientContext::UserSamCompat, azroles/IAzClientContext::get_UserSamCompat, get_UserSamCompat, security.iazclientcontext_usersamcompat |
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 UserSamCompat property retrieves the name of the current client in a format compatible with Windows Security Account Manager (SAM).
This property is read-only.
The SAM-compatible client name is retrieved by impersonating the client token and calling the GetUserNameEx function with NameSamCompatible specified for the NameFormat parameter.
An example of a client name in SAM-compatible format is "ExampleDomain\UserName".