Help > Web Development > Object Reference > Object Reference > ISYSResultList > RemoveUnauthorizedEx Method
<a name="kanchor516"></a>ISYSResultList:RemoveUnauthorizedEx Method
Scans a range of the result list and removes documents that the current NT user does not have permission to view.

Note: This method is provided for compatibility with ISYS 6. Applications should use the ISYSSearch object with Attribute("SECURITY") = True.

Syntax
[VBScript]
sub ISYSResultList.RemoveUnauthorizedEx(_
  long Start, _ 
  long Count_ 
)
[C#]
void IISYSResultList.RemoveUnauthorizedEx(
  long Start, 
  long Count
);
[ColdFusion/Java]
void IISYSResultList.RemoveUnauthorizedEx(
  long Start, 
  long Count
) throws ComException;
Parameters
StartThe first document that is to be authenticated.
CountThe number of documents to authenticate.

Examples
[VBScript]
<% ' This sample demonstrates removing unauthorized documents from a result list ' Execute a pre-configured search Set Results = ISYSSearch.Execute ' Authenticate the first page Results.RemoveUnauthorizedEx 1, ItemsPerPage %>
See Also