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)
Obtaining a handle to the desktop associated with the calling thread
Reading security permissions for NTFS files and folders
IsValidSid
..msdn    Add comment     W32 Constants      Translate this page
The IsValidSid function validates a security identifier (SID) by verifying that the revision number is within a known range, and that the number of subauthorities is less than the maximum.
Code examples:
Reading security permissions for NTFS files and folders
Obtaining a handle to the desktop associated with the calling thread
Accessing LSA Policy object (Local Security Authority)
Declaration:
BOOL IsValidSid(
  PSID pSid
);

FoxPro declaration:
DECLARE INTEGER IsValidSid IN advapi32;
    STRING pSid
Parameters:
pSid
[in] Pointer to the SID structure to validate. This parameter cannot be NULL.
Return value:
If the SID structure is valid, the return value is nonzero.
Word Index links for the IsValidSid :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-01-02 18:31:45
Modified: 2002-01-02 18:33:39
Visited in last 7 days: 13
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 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.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (50.17.66.61)
12.39 hrs.Function: 'JetRetrieveColumn'
12.41 hrs.
Function group: 'Keyboard Input'
12.43 hrs.Example: 'Placing an arbitrary rectangular area of main VFP window on the Clipboard'
12.46 hrs.Example: 'How to delete a service object'
12.65 hrs.Function: 'LockWorkStation'
13.56 hrs.Function: 'InternetCrackUrl'
Function group: 'Internet Functions (WinInet)'
13.58 hrs.Function: 'DrawAnimatedRects'
13.6 hrs.Example: 'How to Start a Process as Another User (NT/XP/2K)'
13.63 hrs.Function: 'GetTickCount'
1 day(s)Function: 'StrFromTimeInterval'
Google
Advertise here!