Username Property of the IFWXAuthenticatedUser Interface

The Username property gets the name of the authenticated user.

HRESULT get_Username(
  [out]  BSTR* pbstrUsername
);

Parameters

pbstrUsername

Pointer to a BSTR that is set on return to a string value specifying the name of the authenticated user.

Return Value

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

Remarks

Memory is allocated by the Microsoft Firewall service, which implements the Username property. The caller should free the memory using SysFreeString. For recommendations on memory allocation for BSTR strings, see Best Practices.

Requirements

Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
Header

Declared in Wspfwext.idl.

DLL

Requires Wspsrv.exe.

See Also

IFWXAuthenticatedUser


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

508 Resource Limit Is Reached

Resource Limit Is Reached

The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.