For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add-RASCriteriaSecurityPrincipal

SYNOPSIS

Adds a user, group or machine to the Criteria Security Principal List.

SYNTAX

Add-RASCriteriaSecurityPrincipal [-DefObjType] {MFA} [[-SiteId] <uint>] [-Account <string>]
 [-SID <string>] [<CommonParameters>]
Add-RASCriteriaSecurityPrincipal [-Id] <uint>
 -ObjType {ClientPolicy | PubItem | FileAccess | MFA | LogonHours} [-Account <string>]
 [-RuleId <uint>] [-SID <string>] [<CommonParameters>]
Add-RASCriteriaSecurityPrincipal [-InputObject] <RASListObj> [-Account <string>] [-RuleId <uint>]
 [-SID <string>] [<CommonParameters>]
Add-RASCriteriaSecurityPrincipal [-Name] <string> [[-SiteId] <uint>]
 -ObjType {ClientPolicy | PubItem | FileAccess | MFA | LogonHours} [-Account <string>]
 [-RuleId <uint>] [-SID <string>] [<CommonParameters>]

DESCRIPTION

Adds a user, group or machine to the Criteria Security Principal List within the Criteria settings of a ClientPolicy, MFA or PubItem.

EXAMPLES

Example 1

Adds a user to the Criteria Security Principal List within the Criteria Settings of the specified MFA by ID.

Example 2

Adds a user to the Criteria Security Principal List within the Criteria Settings of the specified MFA by Name.

PARAMETERS

-Account

The name of the account to add to the Criteria.

-SID

The SID of the account to add to the Criteria.

-Name

The name or server for which to modify the Criteria settings.

-SiteId

Site ID for which to modify the Criteria settings.

If the parameter is omitted, the Licensing Server site ID will be used.

-Id

The ID of a server for which to modify the Criteria settings.

-InputObject

An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.

Type reference: RASListObj

-ObjType

The Object Type for which to modify the Criteria settings.

Possible values: ClientPolicy, PubItem, FileAccess, MFA, LogonHours

Type reference: CriteriaObjType

-DefObjType

The Default Object Type for which to modify the Criteria settings.

Possible values: MFA

Type reference: CriteriaDefObjType

-RuleId

The ID of the Rule to modify.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

None

Last updated