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 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.11 - 200.5 |
Xamarin.Android | 100.11 - 100.15 |
Xamarin.iOS | 100.11 - 100.15 |
UWP | 100.11 - 200.5 |