summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-07-16 10:50:26 +0200
committerGünther Deschner <gd@samba.org>2008-07-18 17:16:44 +0200
commit04463e29f3b10d8230e21bf2743e44fdbbed60c3 (patch)
tree168338ba94d3410b3bb1f3c671f0e96d9fbddb7c /source3/lib/netapi
parent668ce210ce8f280771625208e105f90e6375aee6 (diff)
downloadsamba-04463e29f3b10d8230e21bf2743e44fdbbed60c3.tar.gz
samba-04463e29f3b10d8230e21bf2743e44fdbbed60c3.tar.bz2
samba-04463e29f3b10d8230e21bf2743e44fdbbed60c3.zip
netapi: add NetUserGetInfo to public headers.
Guenther (This used to be commit 7260fb4dbae556b116e385bdcc240416e8a8cbd2)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/netapi.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h
index 2260c28bf1..95ecbe35cd 100644
--- a/source3/lib/netapi/netapi.h
+++ b/source3/lib/netapi/netapi.h
@@ -688,6 +688,26 @@ NET_API_STATUS NetUserChangePassword(const char * domain_name /* [in] */,
/************************************************************//**
*
+ * NetUserGetInfo
+ *
+ * @brief Get User Information
+ *
+ * @param[in] server_name The server name to connect to
+ * @param[in] user_name The name of the user that is going to be queried
+ * @param[in] level The level defining the requested USER_INFO_X structure
+ * @param[out] buffer The buffer containing a USER_INFO_X structure
+ * @return NET_API_STATUS
+ *
+ * example user/user_getinfo.c
+ ***************************************************************/
+
+NET_API_STATUS NetUserGetInfo(const char * server_name /* [in] */,
+ const char * user_name /* [in] */,
+ uint32_t level /* [in] */,
+ uint8_t **buffer /* [out] [ref] */);
+
+/************************************************************//**
+ *
* NetQueryDisplayInformation
*
* @brief Enumerate accounts on a server