..msdn Add comment W32 Constants Translate this page
Accepts the name of a system and an account as input. It retrieves a security identifier (SID) for the account and the name of the domain on which the account was found.|
DECLARE INTEGER LookupAccountName IN advapi32;
[in] Pointer to a null-terminated character string that specifies the name of the system.
[in] Pointer to a null-terminated string that specifies the account name.
[out] Pointer to a buffer that receives the SID structure that corresponds to the account name pointed to by the lpAccountName parameter.
[in, out] Pointer to a variable. On input, this value specifies the size, in bytes, of the Sid buffer.
[out] Pointer to a buffer that receives the name of the domain where the account name is found.
[in, out] Pointer to a variable. On input, this value specifies the size, in TCHARs, of the ReferencedDomainName buffer.
[out] Pointer to a SID_NAME_USE enumerated type that indicates the type of the account when the function returns.
|If the function succeeds, the function returns nonzero.|
|This function attempts to find a SID for the specified name by first checking a list of well-known SIDs. If the name does not correspond to a well-known SID, the function checks built-in and administratively defined local accounts. Next, the function checks the primary domain. If the name is not found there, trusted domains are checked.|
|Word Index links for the LookupAccountName :|
|Translate this page:|
Visited in last 7 days: 14
|Created: ||2006-03-30 13:07:05|
|Modified: ||2006-03-30 13:10:03|
Copyright © 2001-2013
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.
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.