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

Remove-RASCriteriaSecurityPrincipal

SYNOPSIS

Removes a user, group or machine from the Criteria Security Principal List.

SYNTAX

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

DESCRIPTION

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

EXAMPLES

Example 1

Removes a user from the Criteria Security Principal List within the Criteria Settings of the specified MFA by ID.

Example 2

Removes a user from the Criteria Security Principal List within the Criteria Settings of the specified MFA by Name.

PARAMETERS

-Account

The name of the account to remove from the Criteria.

-SID

The SID of the account to remove from 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