<< Click to Display Table of Contents >> Navigation: OLE Automation > SearchFilter > Properties > SpaceObServer.SearchFilter.Properties.ExcludeUserNamePattern |
Description
Use this property to exclude files owned by user certain user(s).
Syntax
property ExcludeUserNamePattern: <String>;
Example
$SOS.Filter.ExcludeUserNamePattern = "admin*" #PowerShell
SOS.Filter.ExcludeUserNamePattern = "admin*" 'VBS
The directory tree and all exports (Except of the XML export) will not include any files owned by users matching the pattern "admin*".
Remarks
The wildcards "*" (any char) and "?" (any one single char) may be used in the patterns.
Multiple user patterns are separated by ";".