Platforms to show: All Mac Windows Linux Cross-Platform

Back to CGSessionMBS class.

CGSessionMBS.ConsoleSet as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacOSX Plugin 4.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Value is a 32 bit unsigned integer value representing a set of hardware composing a console.
Example
dim c as CGSessionMBS = CGSessionMBS

MsgBox str(c.ConsoleSet)

(Read only property)

CGSessionMBS.LoginDone as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacOSX Plugin 4.2 ✅ Yes ❌ No ❌ No ✅ Yes All
True if login operation has been done, otherwise False.
Example
dim c as CGSessionMBS = CGSessionMBS

MsgBox str(c.LoginDone)

(Read only property)

CGSessionMBS.OnConsole as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacOSX Plugin 4.2 ✅ Yes ❌ No ❌ No ✅ Yes All
True if the session is on a console, otherwise False.
Example
dim c as CGSessionMBS = CGSessionMBS

MsgBox str(c.OnConsole)

(Read only property)

CGSessionMBS.UserID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacOSX Plugin 4.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The user id for the session's current user.
Example
dim c as CGSessionMBS = CGSessionMBS

MsgBox str(c.UserID)

(Read only property)

CGSessionMBS.UserName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacOSX Plugin 4.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The session's short user name as set by loginwindow.
Example
dim usr as CGSessionMBS
usr=CGSessionMBS
msgbox usr.UserName

(Read only property)

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


The biggest plugin in space...