summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/netapi.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-06-02 14:46:56 +0200
committerGünther Deschner <gd@samba.org>2008-06-03 01:27:44 +0200
commit749e5a80c24f5f6d0c4b91c5e5ae30606acad3a5 (patch)
treeba31c1b72d2275c6c007170983733d57ffe2a89c /source3/lib/netapi/netapi.h
parent39101acba53f259f5a0147c9dc19f8d1d0dd6212 (diff)
downloadsamba-749e5a80c24f5f6d0c4b91c5e5ae30606acad3a5.tar.gz
samba-749e5a80c24f5f6d0c4b91c5e5ae30606acad3a5.tar.bz2
samba-749e5a80c24f5f6d0c4b91c5e5ae30606acad3a5.zip
netapi: implement NetGroupAddUser().
Guenther (This used to be commit c727a49519b2da6c5eb9ccc5025ab844fe8330ad)
Diffstat (limited to 'source3/lib/netapi/netapi.h')
-rw-r--r--source3/lib/netapi/netapi.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h
index 0f9d70ee35..c4beda2a9c 100644
--- a/source3/lib/netapi/netapi.h
+++ b/source3/lib/netapi/netapi.h
@@ -579,4 +579,22 @@ NET_API_STATUS NetGroupGetInfo(const char * server_name /* [in] */,
uint32_t level /* [in] */,
uint8_t **buf /* [out] [ref] */);
+/************************************************************//**
+ *
+ * NetGroupAddUser
+ *
+ * @brief Add existing User to existing Domain Group
+ *
+ * @param[in] server_name The server name to connect to
+ * @param[in] group_name The name of the group that is going to be modified
+ * @param[in] user_name The name of the user that is going to be added to the
+ * group
+ * @return NET_API_STATUS
+ *
+ * example group/group_adduser.c
+ ***************************************************************/
+
+NET_API_STATUS NetGroupAddUser(const char * server_name /* [in] */,
+ const char * group_name /* [in] */,
+ const char * user_name /* [in] */);
#endif