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:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user