Platforms to show: All Mac Windows Linux Cross-Platform

Back to ODSessionMBS class.

ODSessionMBS.defaultSession as ODSessionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Open Directory MBS MacFrameworks Plugin 19.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns a shared instance of the local session.

Some examples using this method:

ODSessionMBS.ODSessionProxyAddress as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Open Directory MBS MacFrameworks Plugin 19.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the options dictionary.

The address to connect to via proxy. The value is of type string.

ODSessionMBS.ODSessionProxyPassword as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Open Directory MBS MacFrameworks Plugin 19.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the options dictionary.

The password to connect with via proxy. The value is of type string.

ODSessionMBS.ODSessionProxyPort as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Open Directory MBS MacFrameworks Plugin 19.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the options dictionary.

The port to connect to via proxy. The value is of type integer.

ODSessionMBS.ODSessionProxyUsername as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Open Directory MBS MacFrameworks Plugin 19.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the options dictionary.

The username to connect with via proxy. The value is of type string.

ODSessionMBS.session(options as dictionary, byref Error as NSErrorMBS) as ODSessionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Open Directory MBS MacFrameworks Plugin 19.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns a session object directed over proxy to another host.

Options: A dictionary of options to associate with the session. Can be nil.
Error: An error reference for error details. Can be nil.

Returns the initialized session object.

ODSessionMBS.UserName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Open Directory MBS MacFrameworks Plugin 19.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Queries user name.

Convenience function to query user name of current user.

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...