1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-15 07:43:27 +00:00

tweaks for ldap

This commit is contained in:
Kyle Spearrin
2017-05-17 16:35:24 -04:00
parent 203876a527
commit 4b6b2884cb
4 changed files with 64 additions and 19 deletions

View File

@@ -52,5 +52,18 @@ namespace Bit.Core.Utilities
return queryParameters;
}
public static string FromGuidToString(this object property)
{
var propBytes = property as byte[];
if(propBytes != null)
{
return new Guid(propBytes).ToString();
}
else
{
return property.ToString();
}
}
}
}