Using Win32 functions in Visual FoxPro Image Gallery
Network Management
..msdn
NetApiBufferFree
NetApiBufferSize
NetConnectionEnum
NetFileClose
NetFileEnum
NetFileGetInfo
NetGetDCName
NetGroupEnum
NetLocalGroupEnum
NetMessageBufferSend
NetMessageNameAdd
NetMessageNameDel
NetMessageNameEnum
NetScheduleJobAdd
NetScheduleJobDel
NetScheduleJobEnum
NetServerEnum
NetServerGetInfo
NetSessionEnum
NetShareAdd
NetShareDel
NetShareEnum
NetShareSetInfo
NetUserAdd
NetUserChangePassword
NetUserDel
NetUserEnum
NetUserGetGroups
NetUserGetInfo
NetUserGetLocalGroups
NetUserSetInfo
NetWkstaGetInfo
NetWkstaTransportEnum
NetWkstaUserEnum
Code examples:
Enumerating global and local group accounts on a server (WinNT/XP/2K)
NetLocalGroupEnum
..msdn    Add comment     W32 Constants      Translate this page
The NetLocalGroupEnum function returns information about each local group account on the specified server.
Code examples:
Enumerating global and local group accounts on a server (WinNT/XP/2K)
Declaration:
NET_API_STATUS NetLocalGroupEnum(
  LPCWSTR servername,
  DWORD level,
  LPBYTE* bufptr,
  DWORD prefmaxlen,
  LPDWORD entriesread,
  LPDWORD totalentries,
  PDWORD_PTR resumehandle
);
FoxPro declaration:
DECLARE INTEGER NetLocalGroupEnum IN netapi32;
    STRING    srvname,;
    INTEGER   lvl,;
    INTEGER @ bufptr,;
    INTEGER   prefmaxlen,;
    INTEGER @ entriesread,;
    INTEGER @ totalentries,;
    INTEGER   resume_handle

Parameters:
servername
[in] Pointer to a constant string that specifies the DNS or NetBIOS name of the remote server on which the function is to execute. If this parameter is NULL, the local computer is used.

level
[in] Specifies the information level of the data.

bufptr
[out] Pointer to the address of the buffer that receives the information structure.

prefmaxlen
[in] Specifies the preferred maximum length of returned data, in bytes.

entriesread
[out] Pointer to a value that receives the count of elements actually enumerated.

totalentries
[out] Pointer to a value that receives the approximate total number of entries that could have been enumerated from the current resume position.

resumehandle
[in, out] Pointer to a value that contains a resume handle that is used to continue an existing local group search.
Return value:
If the function succeeds, the return value is NERR_Success (0).
Word Index links for the NetLocalGroupEnum :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-06-24 10:17:57
Modified: 2003-06-24 10:20:20
Visited in last 7 days: 19
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.82.81.154)
18 sec.Function: 'GetPrinterData'
33 sec.Function: 'CertFindCertificateInStore'
Function group: 'Cryptography Reference'
48 sec.Function: 'SetWindowText'
1.07 min.Function: 'SetWindowLong'
1.35 min.Function: 'CreateDesktop'
1.65 min.Function: 'GetDeviceDriverBaseName'
1.92 min.
Function group: 'Data Decompression Library'
2.22 min.Function: 'WTSQuerySessionInformation'
2.5 min.Function: 'GetClassLong'
2.77 min.Function: 'ExtractAssociatedIcon'
Google
Advertise here!