Using Win32 functions in Visual FoxPro Image Gallery
Security
..msdn
ConvertSidToStringSid
GetAce
GetAclInformation
GetFileSecurity
GetLengthSid
GetNamedSecurityInfo
GetSecurityDescriptorDacl
GetSecurityDescriptorOwner
ImpersonateLoggedOnUser
IsValidSid
IsWellKnownSid
LogonUser
LookupAccountName
LookupAccountSid
LsaClose
LsaEnumerateLogonSessions
LsaFreeMemory
LsaFreeReturnBuffer
LsaGetLogonSessionData
LsaLookupSids
LsaOpenPolicy
RevertToSelf
Code examples:
Accessing LSA Policy object (Local Security Authority)
LsaLookupSids
..msdn    Add comment     W32 Constants      Translate this page
The LsaLookupSids function looks up the names that correspond to an array of SIDs.
Code examples:
Accessing LSA Policy object (Local Security Authority)
Declaration:
NTSTATUS LsaLookupSids(
  LSA_HANDLE PolicyHandle,
  ULONG Count,
  PSID* Sids,
  PLSA_REFERENCED_DOMAIN_LIST* ReferencedDomains,
  PLSA_TRANSLATED_NAME* Names
);

FoxPro declaration:
DECLARE INTEGER LsaLookupSids IN advapi32;
    INTEGER   PolicyHandle,;
    INTEGER   nCount,;
    INTEGER   Sids,;
    INTEGER @ ReferencedDomains,;
    INTEGER @ Names

Parameters:
PolicyHandle
[in] Handle to a Policy object. This handle must have the POLICY_LOOKUP_NAMES access right.

Count
[in] Specifies the number of SIDs in the Sids array.

Sids
[in] Pointer to an array of SID pointers to look up.

ReferencedDomains
[out] Receives a pointer to an LSA_REFERENCED_DOMAIN_LIST structure.

Names
[out] Receives a pointer to an array of LSA_TRANSLATED_NAME structures.
Return value:
If the function succeeds, the return value is a NTSTATUS value.
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-11-23 11:21:29
Modified: 2003-11-23 11:23:30
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.166.203.76)
1 sec.
Function group: 'Color'
3 sec.
Function group: 'Remote Procedure Call (RPC)'
4 sec.Function: 'CeEnumDBVolumes'
6 sec.Function: 'GetMenuItemCount'
8 sec.Function: 'CM_Connect_Machine'
9 sec.Function: 'PathYetAnotherMakeUniqueName'
11 sec.Function: 'WinHttpSetCredentials'
12 sec.Function: 'GdipRotateMatrix'
14 sec.Function: 'sndPlaySound'
15 sec.Function: 'GetNamedSecurityInfo'
Google
Advertise here!