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:
How to enumerate sessions and processes on a specified terminal server
IsWellKnownSid
..msdn    Add comment     W32 Constants      Translate this page
Compares a SID to a well known SID and returns TRUE if they match.
Code examples:
How to enumerate sessions and processes on a specified terminal server
Declaration:
BOOL IsWellKnownSid(
    PSID pSid,
    WELL_KNOWN_SID_TYPE WellKnownSidType
);
FoxPro declaration:
DECLARE INTEGER IsWellKnownSid IN Advapi32;
    INTEGER pSid,;
    INTEGER WellKnownSidType
Parameters:
pSid
[in] Pointer to the SID to test.

WellKnownSidType
[in] Member of the WELL_KNOWN_SID_TYPE enumeration to compare with the SID at pSid.
Return value:
Returns TRUE if the SID at pSid matches the well known SID indicated by WellKnownSidType.
My comment:
The WELL_KNOWN_SID_TYPE enumeration type is a list of commonly used security identifiers (SIDs).
Dec.29, 2006: members from 0 to 60.

See also: CreateWellKnownSid.
Word Index links for the IsWellKnownSid :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2006-12-29 16:08:05
Modified: 2006-12-29 16:13:50
Visited in last 7 days: 14
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.196.72.162)
4 sec.Function: 'WinHttpQueryDataAvailable'
7 sec.
Function group: 'Icon'
10 sec.Function: 'NetUserAdd'
14 sec.Function: 'FreeLibrary'
18 sec.Function: 'DrawDibDraw'
22 sec.Function: 'WinHttpAddRequestHeaders'
26 sec.Function: 'NetShareEnum'
31 sec.Function: 'SetupDiGetClassImageIndex'
36 sec.Function: 'SetBkMode'
41 sec.Function: 'GdipGetDpiX'
Google
Advertise here!