Skip to content

Latest commit

 

History

History
65 lines (56 loc) · 2.63 KB

nf-azroles-iazclientcontext-get_userupn.md

File metadata and controls

65 lines (56 loc) · 2.63 KB
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_UserUpn
IAzClientContext::get_UserUpn (azroles.h)
Retrieves the name of the current client in user principal name (UPN) format.
AzClientContext object [Security]
UserUpn property
IAzClientContext interface [Security]
UserUpn property
IAzClientContext.UserUpn
IAzClientContext.get_UserUpn
IAzClientContext::UserUpn
IAzClientContext::get_UserUpn
UserUpn property [Security]
UserUpn property [Security]
AzClientContext object
UserUpn property [Security]
IAzClientContext interface
azroles/IAzClientContext::UserUpn
azroles/IAzClientContext::get_UserUpn
get_UserUpn
security.iazclientcontext_userupn
security\iazclientcontext_userupn.htm
security
e54d450b-7059-43c7-9c08-688975031401
12/05/2018
AzClientContext object [Security],UserUpn property, IAzClientContext interface [Security],UserUpn property, IAzClientContext.UserUpn, IAzClientContext.get_UserUpn, IAzClientContext::UserUpn, IAzClientContext::get_UserUpn, UserUpn property [Security], UserUpn property [Security],AzClientContext object, UserUpn property [Security],IAzClientContext interface, azroles/IAzClientContext::UserUpn, azroles/IAzClientContext::get_UserUpn, get_UserUpn, security.iazclientcontext_userupn
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
IAzClientContext::get_UserUpn
azroles/IAzClientContext::get_UserUpn
c++
APIRef
kbSyntax
COM
Azroles.dll
IAzClientContext.UserUpn
IAzClientContext.get_UserUpn
AzClientContext.UserUpn

IAzClientContext::get_UserUpn

-description

The UserUpn property retrieves the name of the current client in user principal name (UPN) format.

This property is read-only.

-parameters

-remarks

The UPN client name is retrieved by impersonating the client token and calling the GetUserNameEx function with NameUserPrincipal specified for the NameFormat parameter.

An example of a client name in UPN format is "someone@example.com".