IAuthenticationExtension2.IsValidPrincipalName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the specified principal name is valid.
public:
bool IsValidPrincipalName(System::String ^ principalName);
public bool IsValidPrincipalName (string principalName);
abstract member IsValidPrincipalName : string -> bool
Public Function IsValidPrincipalName (principalName As String) As Boolean
Parameters
- principalName
- String
The user, group, or computer name.
Returns
true
if the specified principal name is valid; otherwise, false
.