summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-08 10:23:07 +0200
committerGünther Deschner <gd@samba.org>2008-09-11 14:29:44 +0200
commitb6d861a9c0af1250a60e3e568bed860af40c7918 (patch)
tree4aad27dd0b8cc6d777adcf7c89e175309e369c7b
parentffdfe3e8b48bd74199f089176782ae3117106b71 (diff)
downloadsamba-b6d861a9c0af1250a60e3e568bed860af40c7918.tar.gz
samba-b6d861a9c0af1250a60e3e568bed860af40c7918.tar.bz2
samba-b6d861a9c0af1250a60e3e568bed860af40c7918.zip
netapi: add NetGroupSetUsers to public header.
Guenther (This used to be commit 72a0b27aecc9113445dd03bdcd549ac50dd988aa)
-rw-r--r--source3/lib/netapi/netapi.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h
index b1b8e8f3fc..c82dc9af5a 100644
--- a/source3/lib/netapi/netapi.h
+++ b/source3/lib/netapi/netapi.h
@@ -1372,6 +1372,28 @@ NET_API_STATUS NetGroupGetUsers(const char * server_name /* [in] */,
/************************************************************//**
*
+ * NetGroupSetUsers
+ *
+ * @brief Set Users for a group on a server
+ *
+ * @param[in] server_name The server name to connect to
+ * @param[in] group_name The group name to enumerate users for
+ * @param[in] level The enumeration level used for the query
+ * @param[in] buffer The buffer containing a X structure
+ * @param[in] num_entries The number of X entries in the buffer
+ * @return NET_API_STATUS
+ *
+ * example group/group_setusers.c
+ ***************************************************************/
+
+NET_API_STATUS NetGroupSetUsers(const char * server_name /* [in] */,
+ const char * group_name /* [in] */,
+ uint32_t level /* [in] */,
+ uint8_t *buffer /* [in] [ref] */,
+ uint32_t num_entries /* [in] */);
+
+/************************************************************//**
+ *
* NetLocalGroupAdd
*
* @brief Create Local Group