Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


How to interpret UserFlags

Keywords:   interpret UserFlags

Question:

I'm trying to perform an action based on several of the UserFlags settings (AccountDisabled, AccountLockedOut, etc). I see how to set these values, but I haven't been able to figure out how to interpret the existing value. Do you have any code samples?

Answer:

Here's an example:
intUserFlags = dsGetProperty(sAdsiPath, sProperty)
If intUserFlags & UF_ACCOUNTDISABLE
.
.
.

Article ID:   W15044