CGSessionMBS properties

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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.


💬 Ask a question or report a problem