netapi: add NetUserGetGroups to IDL.
authorGünther Deschner <gd@samba.org>
Wed, 27 Aug 2008 09:47:39 +0000 (11:47 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 29 Aug 2008 11:57:58 +0000 (13:57 +0200)
Guenther
(This used to be commit 4d15d1ff20dee216b2fc064bc19712bd3a9cec70)

source3/librpc/idl/libnetapi.idl

index 71bbccb8fd6e0852b732fbe6670d9a4fb50edc5e..b9d94edf9a83d2f4c63d15778eaa339454323ea7 100644 (file)
@@ -512,6 +512,29 @@ interface libnetapi
                [out] uint32 *parm_err
                );
 
+       /*******************************************/
+       /* NetUserGetGroups                        */
+       /*******************************************/
+
+       [public] typedef struct {
+               string grui0_name;
+       } GROUP_USERS_INFO_0;
+
+       [public] typedef struct {
+               string grui1_name;
+               uint32 grui1_attributes;
+       } GROUP_USERS_INFO_1;
+
+       [nopush,nopull] NET_API_STATUS NetUserGetGroups(
+               [in] string server_name,
+               [in] string user_name,
+               [in] uint32 level,
+               [out] uint8 **buffer,
+               [in] uint32 prefmaxlen,
+               [out,ref] uint32 *entries_read,
+               [out,ref] uint32 *total_entries
+               );
+
        /*******************************************/
        /* NetUserModalsGet                        */
        /*******************************************/
@@ -738,15 +761,6 @@ interface libnetapi
        /* NetGroupGetUsers                        */
        /*******************************************/
 
-       [public] typedef struct {
-               string grui0_name;
-       } GROUP_USERS_INFO_0;
-
-       [public] typedef struct {
-               string grui1_name;
-               uint32 grui1_attributes;
-       } GROUP_USERS_INFO_1;
-
        [nopush,nopull] NET_API_STATUS NetGroupGetUsers(
                [in] string server_name,
                [in] string group_name,