System Fields not Populating

Kenneth Brody kenbrody at spamcop.net
Wed Nov 28 08:05:13 PST 2012


On 11/27/2012 12:13 PM, Nancy Palmquist wrote:
> Matt,
>
> It is my experience that on a windows system these variables are not
> populated at all.  I think it is just an oversight that flows back to
> the days when users did not log into a Windows system, so there was
> nothing to capture.
>
> You can load real fields with that information by using
> getenv("USERNAME") on most new windows platforms.
>
> That is what I do when I want to make use of the username.
[...]

Actually, it's not an "oversight".  The problem is that Windows user IDs are 
not available as a number which can be stored in the record header.

Well, unless you consider "S-1-5-21-692514288-2270507930-1569965621-1012" 
and the like to be a number.

-- 
Kenneth Brody


More information about the Filepro-list mailing list