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.

[@Sid =] sid

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

Parameters

[@Sid =] sid

User Windows NT 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>