Skip to content

Commit

Permalink
TssUserSummary - add property TwoFactorMethod
Browse files Browse the repository at this point in the history
Property added in 10.9.64 release for /users endpoint model
  • Loading branch information
wsmelton committed May 18, 2021
1 parent 453e552 commit 880672b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/collections/_abouttopics/about_tssusersummary.md
Expand Up @@ -53,6 +53,9 @@ last_modified_at: 2021-03-03T00:00:00-00:00
LoginFailures
Number of login failures

TwoFactorMethod
Name of the method used for two factor authentication

Username
Username

Expand Down
4 changes: 4 additions & 0 deletions src/classes/users/TssUserSummary.class.ps1
Expand Up @@ -34,4 +34,8 @@ class TssUserSummary {

[string]
$Username

[ValidateSet('None', 'Radius', 'TOTPAuthenticator', 'Duo', 'Fido2', 'Email')]
[string]
$TwoFactorMethod
}
3 changes: 3 additions & 0 deletions src/en-us/about_tssusersummary.help.txt
Expand Up @@ -47,6 +47,9 @@ PROPERTIES
LoginFailures
Number of login failures

TwoFactorMethod
Name of the method used for two factor authentication

Username
Username

Expand Down
1 change: 1 addition & 0 deletions tests/users/Search-User.Tests.ps1
Expand Up @@ -62,6 +62,7 @@ Describe "$commandName functions" {
lastLogin = '1970-01-01T00:00:00.000Z'
loginFailures = 0
userName = 'string'
twoFactorMethod = 'None'
}
)
}
Expand Down

0 comments on commit 880672b

Please sign in to comment.