diff options
author | Günther Deschner <gd@samba.org> | 2008-09-08 10:26:11 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-09-11 14:28:54 +0200 |
commit | fce223602e33232c021ddfa7b4326ab1c464b4b4 (patch) | |
tree | edc84f0b6b06654528799be9565b8766b67688a8 /source3/lib | |
parent | cbcebf0f08395737b4d8fa8b7d1bcdc4384467d9 (diff) | |
download | samba-fce223602e33232c021ddfa7b4326ab1c464b4b4.tar.gz samba-fce223602e33232c021ddfa7b4326ab1c464b4b4.tar.bz2 samba-fce223602e33232c021ddfa7b4326ab1c464b4b4.zip |
netapi: add NetUserSetGroups to public header.
Guenther
(This used to be commit 3e96cd229c1536a7e16441f600c379ceb651b2b3)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/netapi/netapi.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h index 234caf4b93..b1b8e8f3fc 100644 --- a/source3/lib/netapi/netapi.h +++ b/source3/lib/netapi/netapi.h @@ -1151,6 +1151,28 @@ NET_API_STATUS NetUserGetGroups(const char * server_name /* [in] */, /************************************************************//** * + * NetUserSetGroups + * + * @brief Set grouplist of a user on a server + * + * @param[in] server_name The server name to connect to + * @param[in] user_name The user name to query + * @param[in] level The level defining the GROUP_USERS_INFO_X structures in the buffer + * @param[in] buffer The buffer containing GROUP_USERS_INFO_X structures + * @param[in] num_entries The number of X structures in the buffer + * @return NET_API_STATUS + * + * example user/user_setgroups.c + ***************************************************************/ + +NET_API_STATUS NetUserSetGroups(const char * server_name /* [in] */, + const char * user_name /* [in] */, + uint32_t level /* [in] */, + uint8_t *buffer /* [in] [ref] */, + uint32_t num_entries /* [in] */); + +/************************************************************//** + * * NetQueryDisplayInformation * * @brief Enumerate accounts on a server |