String function ( byte [ ] arg0 ) { StringBuilder loc0 = new StringBuilder ( ) ; for ( int loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { String loc2 = prefixZeros ( ( int ) arg0 [ loc1 ] & 0xFF ) ; loc0 . append ( "srini_string" ) ; loc0 . append ( loc2 ) ; } return loc0 . toString ( ) ; }
creates a byte-based string representation of a raw byte array representing the value of theobjectguid attribute retrieved from active directory . the returned string is useful to perform queries on ad based on the objectguid value . eg. : string filter = '' & objectclass =-rrb- objectguid '' + equal + convertobjectguitobytestring objectguid + '' '' ; concode_field_sep PlaceHolder placeHolder concode_field_sep String convertToDashedString concode_elem_sep String decodeObjectGUID concode_elem_sep String prefixZeros