1317 UserId not found for site collection or login name. Result Sets: The proc_SecRemoveUserFromSiteGroupByLogin stored procedure MUST NOT return any result set. proc_SecRemoveUserFromWeb The proc_SecRemoveUserFromWeb stored procedure is called to remove a user belonging to a particular , given its UserId. proc_SecRemoveUserFromWeb is defined using T-SQL syntax, as follows. PROCEDURE proc_SecRemoveUserFromWeb ( @SiteId uniqueidentifier ,@WebId uniqueidentifier ,@UserId int ); @SiteId: The Site Collection Identifier (section ) of the site collection containing the user to be removed. The Site Identifier (section ) of the site. @UserId: The User Identifier (section ) of the user to be removed. Return Values: The proc_SecRemoveUserFromWeb stored procedure MUST return one of the following integer return Description 0 Successful execution. 4335 Cannot successfully remove the last user from the administrators . The stored procedure MUST return a Result Sets: proc_SecRemoveUserFromWeb Site Acl Result Set (section ). proc_SecRemoveUserFromWebByLogin The proc_SecRemoveUserFromWebByLogin stored procedure is called to remove a user identified by name from a specified . proc_SecRemoveUserFromWebByLogin is defined using T-SQL syntax, as follows. PROCEDURE proc_SecRemoveUserFromWebByLogin ( @WebId uniqueidentifier ,@SiteId uniqueidentifier ,@LoginName nvarchar(255) ); The Site Identifier (section ) of the site. @SiteId: The Site Collection Identifier (section ) of the site collection that contains the site from which the user is to be removed. @LoginName: The login name of the user to be removed from the site.
1317 UserId not found for site collection or login name. Result Sets: The proc_SecRemoveUserFromSiteGroupByLogin stored procedure MUST NOT return any result set. proc_SecRemoveUserFromWeb The proc_SecRemoveUserFromWeb stored procedure is called to remove a user belonging to a particular , given its UserId. proc_SecRemoveUserFromWeb is defined using T-SQL syntax, as follows. PROCEDURE proc_SecRemoveUserFromWeb ( @SiteId uniqueidentifier ,@WebId uniqueidentifier ,@UserId int ); @SiteId: The Site Collection Identifier (section ) of the site collection containing the user to be removed. The Site Identifier (section ) of the site. @UserId: The User Identifier (section ) of the user to be removed. Return Values: The proc_SecRemoveUserFromWeb stored procedure MUST return one of the following integer return Description 0 Successful execution. 4335 Cannot successfully remove the last user from the administrators . Result Sets: The proc_SecRemoveUserFromWeb stored procedure MUST return a Site Acl Result Set (section ). proc_SecRemoveUserFromWebByLogin The proc_SecRemoveUserFromWebByLogin stored procedure is called to remove a user identified by name from a specified . proc_SecRemoveUserFromWebByLogin is defined using T-SQL syntax, as follows. PROCEDURE proc_SecRemoveUserFromWebByLogin ( @WebId uniqueidentifier ,@SiteId uniqueidentifier ,@LoginName nvarchar(255) ); The Site Identifier (section ) of the site. @SiteId: The Site Collection Identifier (section ) of the site collection that contains the site from which the user is to be removed. @LoginName: The login name of the user to be removed from the site.