Enums

Details

class AccountsService.UserAccountType(value)

Bases: GObject.GEnum

Type of user account

STANDARD = 0

Normal non-administrative user

ADMINISTRATOR = 1

Administrative user

class AccountsService.UserManagerError(value)

Bases: GObject.GEnum

Various error codes returned by the accounts service.

classmethod quark()
Return type:

int

FAILED = 0

Generic failure

USER_EXISTS = 1

The user already exists

USER_DOES_NOT_EXIST = 2

The user does not exist

PERMISSION_DENIED = 3

Permission denied

NOT_SUPPORTED = 4

Operation not supported

class AccountsService.UserPasswordMode(value)

Bases: GObject.GEnum

Mode for setting the user’s password.

REGULAR = 0

Password set normally

SET_AT_LOGIN = 1

Password will be chosen at next login

NONE = 2

No password set