From b003ed0f59d18d1ca4aba8d915d9d8a526793f42 Mon Sep 17 00:00:00 2001 From: Imran Zaman Date: Tue, 19 Nov 2013 14:09:26 +0200 Subject: [PATCH] added dbus interface documentation --- ...izen.SecurityAccounts.gUserManagement.Group.xml | 141 +++++++++++++++--- ...curityAccounts.gUserManagement.GroupService.xml | 132 ++++++++++++++--- ...tizen.SecurityAccounts.gUserManagement.User.xml | 164 +++++++++++++++++---- ...ecurityAccounts.gUserManagement.UserService.xml | 132 ++++++++++++++--- 4 files changed, 474 insertions(+), 95 deletions(-) diff --git a/src/common/dbus/interfaces/org.tizen.SecurityAccounts.gUserManagement.Group.xml b/src/common/dbus/interfaces/org.tizen.SecurityAccounts.gUserManagement.Group.xml index a0a8f76..1abe732 100644 --- a/src/common/dbus/interfaces/org.tizen.SecurityAccounts.gUserManagement.Group.xml +++ b/src/common/dbus/interfaces/org.tizen.SecurityAccounts.gUserManagement.Group.xml @@ -1,26 +1,119 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + + Copyright © 2013 Intel Corporation + + +

This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. +

+ +

This library is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. +

+ +

You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301 USA +

+
+ + + + +

User object encapsulates the necessary details of a group + account including adding, updating and deleting group. +

+
+ + + Signal is emitted when the group dbus object is + destroyed and is no more usable. + + + + + Adds the group info to the group's account database. + + + + preferred GID of the group + + + + + GID of the group + + + + + + Deletes the group info from the group's account + database + + + + + Updates the group info into the group's account + database + + + + + Adds a user to the group accounts' database + + + + UID of the user to be added to the group + + + + + flag to indicate whether add the user to the + group as admin or not. + + + + + + Deletes a user from the group's account database + + + + UID of the user to be deleted from the group + + + + + + Type of the group. Type can be system(1) and user(2) + + + + + id of the group + + + + + name of the group + + + + + secret used for accessing the group data + + + +
diff --git a/src/common/dbus/interfaces/org.tizen.SecurityAccounts.gUserManagement.GroupService.xml b/src/common/dbus/interfaces/org.tizen.SecurityAccounts.gUserManagement.GroupService.xml index dc65ffd..deab0a3 100644 --- a/src/common/dbus/interfaces/org.tizen.SecurityAccounts.gUserManagement.GroupService.xml +++ b/src/common/dbus/interfaces/org.tizen.SecurityAccounts.gUserManagement.GroupService.xml @@ -1,25 +1,111 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + Copyright © 2013 Intel Corporation + + +

This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. +

+ +

This library is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. +

+ +

You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301 USA +

+
+ + + + +

GroupService object encapsulates the APIs to create or retrieve + the dbus object of the group. Besides it emits signal when a group + is added, deleted or updated. +

+
+ + + Signal is emitted when group info is added to the + group's account database + + + + GID of the group + + + + + + Signal is emitted when group info is deleted from the + group's account database + + + + GID of the group + + + + + + Signal is emitted when group info is updated to the + group's account database + + + + GID of the group + + + + + + Create new group dbus object + + + + group dbus object path. + + + + + + Gets the group dbus object based on GID + + + + GID of the group + + + + + group dbus object path + + + + + + Gets the group dbus object based on group name + + + + name of the group + + + + + group dbus object path + + + + +
+
diff --git a/src/common/dbus/interfaces/org.tizen.SecurityAccounts.gUserManagement.User.xml b/src/common/dbus/interfaces/org.tizen.SecurityAccounts.gUserManagement.User.xml index 4518cfa..45a6cf4 100644 --- a/src/common/dbus/interfaces/org.tizen.SecurityAccounts.gUserManagement.User.xml +++ b/src/common/dbus/interfaces/org.tizen.SecurityAccounts.gUserManagement.User.xml @@ -1,27 +1,141 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + + + Copyright © 2013 Intel Corporation + + +

This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. +

+ +

This library is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. +

+ +

You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301 USA +

+
+ + + + +

User object encapsulates the necessary details of a user + account including adding, updating and deleting user. +

+
+ + + Signal is emitted when the user dbus object is + destroyed and is no more usable. + + + + + Adds the user info to the user's account database. + + + + UID of the user + + + + + + Delete the user from the user's account database. + + + + Flag to indicate whether to remove the user home + directory or not when user account is being deleted. + + + + + + Updates the user info into the user's account + database + + + + + id of the user + + + + + group id of the user + + + + + type of the user. Type can be system(1), admin(2), + guest(3) and normal(4) + + + + + nickname of the user + + + + + name of the user + + + + + secret for the user account + + + + + real name of the user + + + + + office location of the user + + + + + office phone of the user + + + + + home phone of the user + + + + + path of the home directory of user + + + + + path of the shell binary + + + +
diff --git a/src/common/dbus/interfaces/org.tizen.SecurityAccounts.gUserManagement.UserService.xml b/src/common/dbus/interfaces/org.tizen.SecurityAccounts.gUserManagement.UserService.xml index 792efde..7028d0e 100644 --- a/src/common/dbus/interfaces/org.tizen.SecurityAccounts.gUserManagement.UserService.xml +++ b/src/common/dbus/interfaces/org.tizen.SecurityAccounts.gUserManagement.UserService.xml @@ -1,25 +1,111 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + Copyright © 2013 Intel Corporation + + +

This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. +

+ +

This library is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. +

+ +

You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301 USA +

+
+ + + + +

UserService object encapsulates the APIs to create or retrieve + the dbus object of the user. Besides it emits signal when a user is + added, deleted or updated. +

+
+ + + Signal is emitted when user info is added to the + user's account database + + + + UID of the user + + + + + + Signal is emitted when user info is deleted from the + user's account database + + + + UID of the user + + + + + + Signal is emitted when user info is updated to the + user's account database + + + + UID of the user + + + + + + Create new user dbus object + + + + user dbus object path + + + + + + Gets the user dbus object based on UID + + + + UID of the user + + + + + user dbus object path + + + + + + Gets the user dbus object based on user name + + + + name of the user + + + + + user dbus object path + + + + +
+
-- 2.7.4