# Find-RASMFAUsers

## NAME

Find-RASMFAUsers

## SYNOPSIS

Find MFA TOTP/EmailOTP users by matching substring.

## SYNTAX

**Find-RASMFAUsers** -[Like](#like-string) _(string)_\*\*\
\[[MFAId](#mfaid-string) _(uint)_]\
\[[SiteId](#siteid-string) _(uint)_]\
\[-[Type](#Type) {GAuthTOTP | TOTP |\
MicrosoftTOTP | EmailOTP}]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

## DESCRIPTION

Find MFA TOTP/EmailOTP users by matching substring.

## PARAMETERS

## SiteId (uint)

Site ID where the users will be searched.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Like (string)

Find users matching this pattern.

```
        Required?                    true

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## MFAId (uint)

The ID of the MFA Provider to be modified.

In case of TOTP Provider, the ID will always be 0. Default: 0.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Type ([MFAUsersType](../types/mfauserstype))

The MFA Provider Type to be modified.

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

Possible values: GAuthTOTP, TOTP, MicrosoftTOTP, EmailOTP

```
        Required?                    false

        Position?                    named

        Default value                TOTP

        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 documentation. 
```

## INPUTS

-none-

## OUTPUTS

-none-

## EXAMPLES

\*\*---------- EXAMPLE 1 ----------

Find-RASMFAUsers -Like "@my.domain.local" -Type TOTP

Find MFA TOTP users matching the pattern "@my.domain.local".\
\*\*---------- EXAMPLE 2 ----------

Find-RASMFAUsers -Like "@my.domain.local" -Type EmailOTP -MFAId 1

Find MFA EmailOTP users matching the pattern "@my.domain.local".

## RELATED LINKS

* [Add-RASMFAUsers](add-rasmfausers)
* [Reset-RASMFAUsers](reset-rasmfausers)
