Platform SDK: Network Management |
Windows 95/98: The NetSecurityGetInfo function retrieves the specified level of access control information.
Windows NT/2000: This function is not supported on Windows NT/Windows 2000.
When this function executes locally, no special privilege is required.
extern API_FUNCTION NetSecurityGetInfo( const char FAR * pszServer, short sLevel, char FAR * pbBuffer, unsigned short cbBuffer, unsigned short FAR * pcbTotalAvail );
Value | Meaning |
---|---|
1 | The pbBuffer parameter points to a security_info_1 structure. |
If the function succeeds, the return value is NERR_Success.
If the function fails, the return value is a Win32 API error code. For a list of error codes, see Error Codes.
Windows 95/98: See the NetSecurityGetInfo Sample (Windows 95/98) topic to view a code sample that demonstrates how to call the NetSecurityGetInfo function.
Windows NT/2000: Unsupported.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Svrapi.h.
Library: Use Svrapi.lib.
Network Management Overview, Network Management Functions, security_info_1, NetAccessGetInfo