Returns the current user as a
SourceCode.Authorization.Interfaces.IAuthorizationIdentity.
Syntax
Visual Basic (Declaration) | |
---|
Public Function GetCurrentIdentity() As SourceCode.Authorization.Interfaces.IAuthorizationIdentity
|
Visual Basic (Usage) | Copy Code |
---|
Dim instance As AuthorizationClient
Dim value As SourceCode.Authorization.Interfaces.IAuthorizationIdentity
value = instance.GetCurrentIdentity()
|
C# | |
---|
public SourceCode.Authorization.Interfaces.IAuthorizationIdentity GetCurrentIdentity()
|
C++/CLI | |
---|
public:
SourceCode.Authorization.Interfaces.IAuthorizationIdentity^ GetCurrentIdentity();
|
Return Value
The
SourceCode.Authorization.Interfaces.IAuthorizationIdentity of the current user.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also