Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User - Allow empty strings on Register-DMUser #85

Open
AndiBellstedt opened this issue Mar 31, 2024 · 1 comment
Open

User - Allow empty strings on Register-DMUser #85

AndiBellstedt opened this issue Mar 31, 2024 · 1 comment

Comments

@AndiBellstedt
Copy link

Due to UserPrincipalName is allowed to be empty in AD (and it is on default objects like "guest" and "krbtgt"), that parameter UserPrincipalName should be allowed to be empty.

validator may be enough on the parameter:

[AllowEmptyString()]
@AndiBellstedt
Copy link
Author

Suggestion in in my fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant