SecurityIdentifier::IsValidTargetType Method (Type^)

 

Returns a value that indicates whether the specified type is a valid translation type for the SecurityIdentifier class.

Namespace:   System.Security.Principal
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual bool IsValidTargetType(
	Type^ targetType
) override

Parameters

targetType
Type: System::Type^

The type being queried for validity to serve as a conversion from SecurityIdentifier. The following target types are valid:

- NTAccount

- SecurityIdentifier

Return Value

Type: System::Boolean

true if targetType is a valid translation type for the SecurityIdentifier class; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show: