Returns the name of the default privacy list.

Namespace: S22.Xmpp.Im
Assembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public string GetDefaultPrivacyList()

Return Value

The name of the default privacy list or null if no list has been set as default list.

Remarks

The 'default' privacy list applies to the user as a whole, and is processed if there is no active list set for the current session or resource.

Exceptions

ExceptionCondition
System.IO..::..IOExceptionThere was a failure while writing to or reading from the network.
System..::..InvalidOperationExceptionThe XmppIm instance is not connected to a remote host, or the XmppIm instance has not authenticated with the XMPP server.
System..::..ObjectDisposedExceptionThe XmppIm object has been disposed.
S22.Xmpp..::..XmppErrorExceptionThe server returned an XMPP error code. Use the Error property of the XmppErrorException to obtain the specific error condition.
S22.Xmpp..::..XmppExceptionThe server returned invalid data or another unspecified XMPP error occurred.

See Also