UserLock Documentation
UserLock Documentation
You are here: Reference > UserLock PowerShell > Cmdlet Help > Get-UserLockProtectedAccountEffective

Get-UserLockProtectedAccountEffective Cmdlet

Synopsis

Get protected account effectives.

Syntax

Get-UserLockProtectedAccountEffective [-Name <string[]>] [-Property <string>] [-UserLockServerName <string>][<CommonParameters>]

Description

The Get-UserLockProtectedAccountEffective cmdlet gets the effective restrictions for one or more user account names. Without parameters, Get-UserLockProtectedAccountEffective gets the effective restrictions for all user accounts. You can also specify a particular account name. Caution: PowerShell 3.0 is required.

Parameters

-Name <string[]>

Specifies one or more account names. You can type multiple account names (separated by commas). Wildcard characters are managed only if the concerned user accounts did make at least one session event in UserLock (if they are displayed in the User sessions view). The parameter name ("Name") is optional.

Required false
Position 1
Accepts pipeline input true (ByValue, ByPropertyName)
Accepts wildcard characters false

-Property <string>

Specifies the name of the property effective to get.

Required false
Position named
Accepts pipeline input false
Accepts wildcard characters false

-UserLockServerName <string>

Specifies the name of the UserLock server. The default is the localhost name.

Required false
Position named
Accepts pipeline input false
Accepts wildcard characters false
Default Value '.'

<CommonParameters>

For more information about common parameters, type "Get-Help about_commonparameters".

Input Type

None

Return Type

ISDecisions.UserLockLibrary.ProtectedAccountEffective

Notes

You can also refer to Get-UserLockProtectedAccountEffective by its alias, "gulpae". For more information, see about_Aliases. To use Get-UserLockProtectedAccountEffective, you must have the "Protected account" and "User sessions" UserLock administrative access rights.

Examples

Example 1

Get-UserLockProtectedAccountEffective -Name 'Alice', 'Bob' -UserLockServerName 'MyUlSrv'

Gets the 'Alice' and 'Bob' user protected account effectives through the 'MyUlSrv' UserLock server.

Example 2

Get-UserLockProtectedAccountEffective -Property NbConcurrentLogins

Gets the NbConcurrentLogins property effective of all user accounts of the localhost UserLock server.

Related Links

Get-UserLockProtectedAccount

Get-UserLockCommand