modUserExists

See Also

[@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>