User_Verify

The
USER_VERIFY
execute determines if the password provided for the specified Windows user name is correct and if that user belongs to a specified Windows group. This execute verifies Windows users and groups only.
The format and return for this execute includes:
Execute Format
A
FactoryTalk Batch
Server supports an execute string with USER_VERIFY as the keyword. The format of the execute string is as follows:
[USER_VERIFY (
Item,UserID,Password,Group)
]
where:
Item
Item name on which to place the execute.
UserID
ID of the Windows user being verified.
Password
Password to be checked for specified Windows user.
Group
Windows group name to check for user membership. Formatted as
[authority \] principal
, where authority is an optional computer or domain name, and principal is a Windows group name. The delimiting backslash should be omitted if the optional authority is not included.
Action
A successful USER_VERIFY execute determines if the Windows user and password combination are valid and if the verified user belongs to the specified Windows group.
Return Format
SUCCESS | FAIL
The following table shows an example of the return on this execute.
Example:
An execute string consisting of:
USER_VERIFY (Item,Buck,Alligators,MasterRecipeViewer)
Could place this data in Item for the client:
SUCCESS
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal