get_primary_session_id


Description:

public unowned string get_primary_session_id ()

Returns the id of the primary session of this, or null if this has no primary session.

The primary session will always be graphical and will be chosen from the sessions on the same seat as the seat of the session of the calling process.

Parameters:

this

a User

Returns:

the id of the primary session of the user