Add-RASCriteriaSecurityPrincipal
Last updated
Last updated
Add-RASCriteriaSecurityPrincipal
Adds a user, group or machine to the Criteria Security Principal List.
Add-RASCriteriaSecurityPrincipal [-] {MFA} [[-] <uint>] [- <string>] [- <string>] [<>]
Add-RASCriteriaSecurityPrincipal [-] <uint> - {ClientPolicy | PubItem | MFA | LogonHours} [- <string>] [- <uint>] [- <string>] [<>]
Add-RASCriteriaSecurityPrincipal [-] <> [- <string>] [- <uint>] [- <string>] [<>]
Add-RASCriteriaSecurityPrincipal [-] <string> [[-] <uint>] - {ClientPolicy | PubItem | MFA | LogonHours} [- <string>] [- <uint>] [- <string>] [<>]
Adds a user, group or machine to the Criteria Security Principal List within the Criteria settings of a ClientPolicy, MFA or PubItem.
-Account <string> The name of the account to add to the Criteria.
-SID <string> The SID of the account to add to the Criteria.
-Name <string> The name or server for which to modify the Criteria settings.
-SiteId <uint> Site ID for which to modify the Criteria settings.
If the parameter is omitted, the Licensing Server site ID will be used.
-Id <uint> The ID of a server for which to modify the Criteria settings.
Possible values: ClientPolicy, PubItem, MFA, LogonHours
Possible values: MFA
-RuleId <uint> The ID of the Rule to modify.
<CommonParameters>
-none-
-none-
---------- EXAMPLE 1 ----------
Add-RASCriteriaSecurityPrincipal -Id 1 -ObjType MFA -Account "JaneDoe"
Adds a user to the Criteria Security Principal List within the Criteria Settings of the specified MFA by ID. ---------- EXAMPLE 2 ----------
Add-RASCriteriaSecurityPrincipal -Name "Logon1" -ObjType MFA -Account "SID://DOMAIN/JaneDoe"
Adds a user to the Criteria Security Principal List within the Criteria Settings of the specified MFA by Name.
-InputObject <> An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.
-ObjType <> The Object Type for which to modify the Criteria settings.
-DefObjType <> The Default Object Type for which to modify the Criteria settings.