Editar

Partilhar via


ISSOMapping.WindowsUserName Property

The WindowsUserName property specifies the Microsoft Windows user name.

Get method:

Syntax

  
HRESULT ISSOMapping::get_WindowsUserName(BSTR*WindowsUserName);  
HRESULT ISSOMapping::put_WindowsUserName(BSTR WindowsUserName);  
  
Property WindowsUserName() As String  

Parameters

WindowsUserName
[in] When putting the property, a string that contains the Windows user name. [out, retval] When getting the property, a string used to return the Windows user name.

None.

Return Value

This method returns an HRESULT indicating whether it completed successfully. For more details, see the Error Values section.

Not applicable.

Error Values

This method returns an HRESULT containing one of the values in the following table.

This method indicates errors by setting the Number property of the global Err object to one of the values in the following table.

Value Description
S_OK The method succeeded.
E_ACCESSDENIED Access is denied to the caller.
E_INVALIDARG An invalid parameter was detected.

Requirements

Platforms: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows 11, and Windows 10

See Also

ISSOMapping Interface (COM)
ISSOMapping Members
Programming with Enterprise Single Sign-On