< Back

Invoke-OneLoginUserLockout

Sat Jan 18, 2020 6:06 pm

NAME Invoke-OneLoginUserLockout



SYNOPSIS

Locks out a OneLogin user for a specified period of time.





SYNTAX

Invoke-OneLoginUserLockout [<CommonParameters>]





DESCRIPTION

Locks out a OneLogin user for a specified period of time. While locked out, the user will not be able to sign in

to OneLogin or provided applications.





PARAMETERS

-Identity <>

Specifies the user who will be locked out.



Required? false

Position? named

Default value None

Accept pipeline input? false

Accept wildcard characters? false



-IntervalInMinutes <>

Specifies the duration in minutes that the user will be locked out. If you do not specify a value, or if you

specify zero, the lockout duration will be the value of the lockout duration in the user's security policy. If

the user's security policy does not specify a lockout duration, and the value of -IntervalInMinutes is 0 or

unspecified, the lockout will remain in effect until you unlock the user.



Required? false

Position? named

Default value None

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

OneLoginUser







OUTPUTS



NOTES









---------- -------------- Example 1 -------------- ----------



PS C:\\> Get-OneLoginUser -Identity 123456 | Invoke-OneLoginUserLockout -IntervalInMinutes 60



This example demonstrates how to lock out a user for one hour.



RELATED LINKS

OneLogin user lockout https://developers.onelogin.com/api-doc ... er-account