Method System.LookupAccountName()


Method LookupAccountName

array(mixed) LookupAccountName(string|int(0) sys, string account)

Returns

Returns 0 (zero) if the account was not found, and an array containing the following on success:

Array
SID 0

SID object representing the account.

string 1

Domain name.

int 2

Account type.

Note

This function is only available on some Win32 systems.