次の方法で共有


IAuthenticationExtension2.IsValidPrincipalName(String) Method

Definition

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.

Applies to