Move throw into interface to use in wizard, check for null and invalid username.

This commit is contained in:
Jxiced
2025-02-23 22:16:35 +00:00
parent 7aa96dfc20
commit e7bc86ebb8
3 changed files with 13 additions and 9 deletions

View File

@@ -33,6 +33,12 @@ namespace MediaBrowser.Controller.Library
/// <value>The users ids.</value>
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>