netapi: add NetLocalGroupGetInfo() to public headers.
[tprouty/samba.git] / source3 / lib / netapi / netapi.h
index 28bb7fa68ac41fd03a428cf24db0ddeb7e7b8a73..5b7a31f320b2ae0f533b7e663f15a62f0a84e7fa 100644 (file)
@@ -667,4 +667,23 @@ NET_API_STATUS NetLocalGroupAdd(const char * server_name /* [in] */,
 NET_API_STATUS NetLocalGroupDel(const char * server_name /* [in] */,
                                const char * group_name /* [in] */);
 
+/************************************************************//**
+ *
+ * NetLocalGroupGetInfo
+ *
+ * @brief Get Local Group Information
+ *
+ * @param[in] server_name The server name to connect to
+ * @param[in] group_name The name of the group that is going to be queried
+ * @param[in] level The level defining the requested LOCALGROUP_INFO_X structure
+ * @param[out] buf The buffer containing a LOCALGROUP_INFO_X structure
+ * @return NET_API_STATUS
+ *
+ * example localgroup/localgroup_getinfo.c
+ ***************************************************************/
+
+NET_API_STATUS NetLocalGroupGetInfo(const char * server_name /* [in] */,
+                                   const char * group_name /* [in] */,
+                                   uint32_t level /* [in] */,
+                                   uint8_t **buf /* [out] [ref] */);
 #endif