Show / Hide Table of Contents

Property UserName

UserName

Gets the name of the user associated with this credential.

Declaration
public string UserName { get; }
Property Value
Type Description
System.String

The name of the user associated with this credential.

Remarks

When the credential is first initialized, the name will be extracted from the certificate's subject field.

If the credential is used to initialize an ArcGISPortal, the value may be updated if the user reported by UserName is different from the certificate's subject. This is to be expected, as a certificate might store the user's email but not their name.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.11 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.11 - 200.8
Xamarin.Android100.11 - 100.15
Xamarin.iOS100.11 - 100.15
UWP100.11 - 200.8
In This Article
Back to top Copyright © 2022 Esri.