TranslateToSids() private static méthode

private static TranslateToSids ( IdentityReferenceCollection sourceAccounts, bool &someFailed ) : IdentityReferenceCollection
sourceAccounts IdentityReferenceCollection
someFailed bool
Résultat IdentityReferenceCollection
Exemple #1
0
 internal static IdentityReferenceCollection Translate(IdentityReferenceCollection sourceAccounts, Type targetType, out bool someFailed)
 {
     if (sourceAccounts == null)
     {
         throw new ArgumentNullException("sourceAccounts");
     }
     if (targetType == typeof(SecurityIdentifier))
     {
         return(NTAccount.TranslateToSids(sourceAccounts, out someFailed));
     }
     throw new ArgumentException(Environment.GetResourceString("IdentityReference_MustBeIdentityReference"), "targetType");
 }