3.1.5.57 proc_SecGetAccountStatus

The proc_SecGetAccountStatus stored procedure provides status information for a site collection's users matching a specified login name or email address, which are not marked as deleted.

 PROCEDURE proc_SecGetAccountStatus(
       @SiteId                        uniqueidentifier,
       @Login                         nvarchar(255),
       @Email                         nvarchar(255)
 );

@SiteId: The Site Collection Identifier (section 2.2.1.9) of the site collection containing the specified Users.

@Login: The login name of a User to be matched. If the @Email parameter specifies a non-empty email address, the @Login parameter can be NULL or an empty string. Otherwise, this parameter MUST NOT be NULL.

@Email: The email address of a User to be matched. If the @Login parameter specifies a non-empty login name, the @Email parameter can be NULL or an empty string.

Return Values: The proc_SecGetAccountStatus stored procedure MUST return an integer return code of 0.

The proc_SecGetAccountStatus stored procedure MUST return one result set as follows.