INetFwRule3::put_LocalUserOwner method (netfw.h)
Specifies the user security identifier (SID) of the user who is the owner of the rule.
This property is read/write.
Syntax
HRESULT put_LocalUserOwner(
BSTR wszUserOwner
);
Parameters
wszUserOwner
Return value
None
Remarks
If this rule does not specify localUserConditions, all the traffic that this rule matches must be destined to or originated from this user.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | netfw.h |
DLL | FirewallAPI.dll |