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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.11 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.11 - 100.15 |
.NET 5 | 100.11 - 100.12 |
.NET Core 3.1 | 100.11 - 100.12 |
Xamarin.Android | 100.11 - 100.15 |
Xamarin.iOS | 100.11 - 100.15 |
UWP | 100.11 - 100.15 |