on 07-12-2015 11:17 PM
Hi,
Is there a way to read the user photo from Microsoft AD into IdM? I tried to setup a step to include the photo attribute in a FromLDAP pass, but I couldn't find the correct datatype - binary.
Thanks,
Chenyang Xiong
Hello,
I use a Memo field. You get a value like {HEX}ABCFEFG... from which that prefix has to removed further on.
For writing to the Identtiy Store I use a small Java class which simply select all new files and writes them to the file system using a separate folder and the mskeyvalue as filename (). It could also work using uIS_SetValue or a ToIdentityStore pass, but I haven't tried that out.
Best regards
Dominik Trui
Here a small code snippet out of the Java class (without error handling and parameters):
String connectionUrl = jdbcUrl;
Connection con = DriverManager.getConnection(connectionUrl);
byte[] fileBytes;
Statement state = con.createStatement();
ResultSet rs = state.executeQuery(query);
fileBytes = rs.getBytes(1);
String filename = rs.getString(2);
String requestId = rs.getString(3);
OutputStream targetFile = new FileOutputStream(filename);
targetFile.write(fileBytes);
targetFile.close();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried text?
Another option would be to create the table once using a nvarchar(max) in MSSQL or CLOB in Oracle for the column (adjust it in the SQL Studio / Developer if needed). Than use "Add entries to table" instead of "Delete entries before loading". You have to use another ToDatabase pass before that pass which simply does a "delete from sapRepNameUser" with SQL updating.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.