diff options
| author | Jxiced <mangonation420@gmail.com> | 2025-02-23 22:16:35 +0000 |
|---|---|---|
| committer | Jxiced <mangonation420@gmail.com> | 2025-02-23 22:16:35 +0000 |
| commit | e7bc86ebb8496615e0b3f73eb4f13ab4c0913dc8 (patch) | |
| tree | 6075fb78cec1b92e47561d610f29c82d0dedf9d1 /MediaBrowser.Controller/Library/IUserManager.cs | |
| parent | 7aa96dfc202db23fba7b402bd17d4854f9249d27 (diff) | |
Move throw into interface to use in wizard, check for null and invalid username.
Diffstat (limited to 'MediaBrowser.Controller/Library/IUserManager.cs')
| -rw-r--r-- | MediaBrowser.Controller/Library/IUserManager.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Library/IUserManager.cs b/MediaBrowser.Controller/Library/IUserManager.cs index 1c115be85..a4bd0f69e 100644 --- a/MediaBrowser.Controller/Library/IUserManager.cs +++ b/MediaBrowser.Controller/Library/IUserManager.cs @@ -34,6 +34,12 @@ namespace MediaBrowser.Controller.Library IEnumerable<Guid> UsersIds { get; } /// <summary> + /// Checks if the user's username is valid. + /// </summary> + /// <param name="name">The user's username.</param> + void ThrowIfInvalidUsername(string name); + + /// <summary> /// Initializes the user manager and ensures that a user exists. /// </summary> /// <returns>Awaitable task.</returns> |
