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:
Retrieving local computer and user names
ConvertSidToStringSid
..msdn    Add comment     W32 Constants      Translate this page
Converts a security identifier (SID) to a string format suitable for display, storage, or transmission.
Code examples:
Retrieving local computer and user names
Declaration:
BOOL ConvertSidToStringSid(
  PSID Sid,
  LPTSTR* StringSid
);
FoxPro declaration:
DECLARE INTEGER ConvertSidToStringSid IN advapi32;
    INTEGER Sid,;
    INTEGER @StringSid
Parameters:
Sid
[in] Pointer to the SID structure to convert.

StringSid
[out] Pointer to a variable that receives a pointer to a null-terminated SID string. To free the returned buffer, call the LocalFree function.
Return value:
If the function succeeds, the return value is nonzero.
My comment:
Examples of what this function returns:
S-1-800
S-1-5-21-606747154-839522115-1708537768-1004
Word Index links for the ConvertSidToStringSid :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2006-03-30 13:10:24
Modified: 2006-03-30 13:13:22
Visited in last 7 days: 16
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.145.16.43)
14 sec.Function: 'SQLGetFunctions'
29 sec.Function: 'WSAEventSelect'
45 sec.Function: 'GdipCreateStringFormat'
59 sec.Function: 'UuidToString'
1.23 min.Function: 'HeapLock'
1.48 min.Function: 'SetBkMode'
1.72 min.Function: 'FreeLibrary'
1.93 min.Function: 'WinHttpAddRequestHeaders'
2.18 min.Function: 'DrawDibDraw'
2.4 min.
Function group: 'Icon'
Google
Advertise here!