Skip to content

Commit

Permalink
docs: add enabling an user account
Browse files Browse the repository at this point in the history
  • Loading branch information
TerraTalpi committed Aug 30, 2021
1 parent 07aee6b commit 80c7018
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/example_User.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ err := user.UpdateUser(msgraph.User{DisplayName: "Rabbit 2.0"}, msgraph.UpdateWi

// disable acccount
err := user.DisableAccount()
// enable user account again
err := user.UpdateUser(User{AccountEnabled: true})
// delete a user, use with caution!
err := user.DeleteUser()
````

0 comments on commit 80c7018

Please sign in to comment.