Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [DBus (name="org.freedesktop.Accounts")]
- public interface Accounts{
- public abstract ObjectPath create_user (string name, string fullname, int32 account_type);
- public abstract void delete_user (int64 id, bool remove_files);
- public abstract ObjectPath find_user_by_id (int64 id);
- public abstract ObjectPath [] list_cached_users ();
- public abstract string daemon_version {get; set;}
- public signal ObjectPath user_added ();
- public signal ObjectPath user_deleted ();
- }
- [DBus (name="org.freedesktop.Accounts")]
- public interface User{
- public abstract void set_account_type (int32 account_type); //0=standard, 1=admin
- public abstract void set_automatic_login (bool enabled);
- public abstract void set_email (string email);
- public abstract void set_home_directory (string homedir);
- public abstract void set_icon_file (string filename);
- public abstract void set_language (string language);
- public abstract void set_location (bool locked);
- public abstract void set_password_mode (int32 mode); //0=regular, 1=set_at_login, 2=none
- public abstract void set_real_name (string name);
- public abstract void set_shell (string shell);
- public abstract void set_user_name (string name);
- public abstract void set_x_session (string x_session);
- public bool automatic_login;
- public bool locked;
- public bool system_account;
- public int32 account_type;
- public int32 password_mode;
- public string email;
- public string home_directory;
- public string icon_file;
- public string language;
- public string location;
- public string real_name;
- public string shell;
- public string x_session;
- public uint64 login_frequency;
- public uint64 uid;
- public signal void changed ();
- }
Add Comment
Please, Sign In to add comment