SyntaxFix
Write A Post
Hire A Developer
Questions
Another option:
if( ![string]::IsNullOrEmpty($user_sam) -and ![string]::IsNullOrEmpty($user_case) ) { ... }