Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.32 KB

Get-DuoUserBypassCodes.md

File metadata and controls

60 lines (42 loc) · 1.32 KB
external help file Module Name online version schema
DuoSecurity-help.xml
DuoSecurity
2.0.0

Get-DuoUserBypassCodes

SYNOPSIS

Retrieve Bypass Codes by User ID

SYNTAX

Get-DuoUserBypassCodes [-UserId] <String> [<CommonParameters>]

DESCRIPTION

Returns a paged list of bypass code metadata associated with the user with ID user_id. Does not return the actual bypass codes. Requires "Grant read resource" API permission.

EXAMPLES

EXAMPLE 1

Get-DuoUserBypassCodes -UserId SOMEUSERID

PARAMETERS

-UserId

The ID of the user

Type: String
Parameter Sets: (All)
Aliases: user_id

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

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

OUTPUTS

NOTES

RELATED LINKS

https://duo.com/docs/adminapi#retrieve-bypass-codes-by-user-id