Mono Class Library: System.Security.Principal.IIdentity Overview | Members

System.Security.Principal.IIdentity.Name Property

Current name of the identity.

public string Name { get; }

Value

Textual representation of the current identity (e.g. user name).

Remarks

Typically, this value represents the name of the user the current thread is executing as. This value may be an empty string if the user is unauthenticated.

Requirements

Namespace: System.Security.Principal
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0