Share via


modUserExists

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Tests to determine whether the user exists in the modUserList table. Exists in the modSystem database.

 [@Sid =] sid

Parameters

  • [@Sid =] sid
    User Microsoft® Windows® security ID (SID) account name.

Return code

Returns 0 if successful; otherwise, returns 1.

Remarks

Changes the parameter to account name.

Example

The following example identifies whether the user is registered on the server:

EXEC modUserExists <sid>

See Also

Stored Procedures | Workflow Application Infrastructure | ModSystem Database Tables | Workflow-Enabled Database Tables | Views