IsNameDefined
Determines whether there is a logon name defined for this user in this zone.
Syntax
bool IsNameDefined {get; set;}
Property value
Returns true if there is a logon name defined for this user. Set this property false to clear the logon name.
Exceptions
IsNameDefined throws an InvalidOperationException if the name has not been defined and you attempt to set this property true.