Opc.Ua.Com.UserIdentity.IsDefault C# (CSharp) Method

IsDefault() public static method

Whether the identity represents an the default identity.
public static IsDefault ( UserIdentity identity ) : bool
identity UserIdentity
return bool
		public static bool IsDefault(UserIdentity identity)
		{
            if (identity != null)
            {
			    return String.IsNullOrEmpty(identity.m_username);
            }

            return true;
		}
		#endregion