NET Logging Library
UserNameFilter Property (BaseTarget)



KellermanSoftware.NetLoggingLibrary.Targets Namespace > BaseTarget Class : UserNameFilter Property
If specified, logging will only occur for the specific user name It is possible to use multiple users delimited by a comma and the asterisk wildcard.
Syntax
Public Overridable Property UserNameFilter As String
Dim instance As BaseTarget
Dim value As String
 
instance.UserNameFilter = value
 
value = instance.UserNameFilter
public virtual string UserNameFilter {get; set;}
public:
virtual property String^ UserNameFilter {
   String^ get();
   void set (    String^ value);
}
Example
User1,User2,Test*
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BaseTarget Class
BaseTarget Members