diff options
author | Günther Deschner <gd@samba.org> | 2008-08-27 13:13:57 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-08-29 13:57:59 +0200 |
commit | 29e8a0fa2a8ac8da624ebcf79f9d350ed1407c80 (patch) | |
tree | 24dbce39a46ae37b4ad9fcdf87e960b5adf47c5c /source3 | |
parent | d304d17f2e21abdeb4adac15870026a6c3f86249 (diff) | |
download | samba-29e8a0fa2a8ac8da624ebcf79f9d350ed1407c80.tar.gz samba-29e8a0fa2a8ac8da624ebcf79f9d350ed1407c80.tar.bz2 samba-29e8a0fa2a8ac8da624ebcf79f9d350ed1407c80.zip |
netapi: add NetUserGetGroups to public headers.
Guenther
(This used to be commit 2f95b7d9b5ad513e43d7d41ce9fb87300ec357a8)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/netapi/netapi.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h index 4882ada893..9ba1d30f5c 100644 --- a/source3/lib/netapi/netapi.h +++ b/source3/lib/netapi/netapi.h @@ -1000,6 +1000,33 @@ NET_API_STATUS NetUserModalsSet(const char * server_name /* [in] */, /************************************************************//** * + * NetUserGetGroups + * + * @brief Enumerate 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 enumeration level used for the query (Currently only + * level 0 is supported) + * @param[out] buffer The returned enumeration buffer + * @param[in] prefmaxlen The requested maximal buffer size + * @param[out] entries_read The number of returned entries + * @param[out] total_entries The number of total entries + * @return NET_API_STATUS + * + * example user/user_getgroups.c + ***************************************************************/ + +NET_API_STATUS NetUserGetGroups(const char * server_name /* [in] */, + const char * user_name /* [in] */, + uint32_t level /* [in] */, + uint8_t **buffer /* [out] [ref] */, + uint32_t prefmaxlen /* [in] */, + uint32_t *entries_read /* [out] [ref] */, + uint32_t *total_entries /* [out] [ref] */); + +/************************************************************//** + * * NetQueryDisplayInformation * * @brief Enumerate accounts on a server |