I'm using Active Directory/Novell Directory as security-system for Xpert.ivy. How to read LDAP/Active Directory/Novell Directory attributes of a user?

asked 13.01.2014 at 11:48

Urs%20Buri's gravatar image

Urs Buri
6113
accept rate: 0%


You can read LDAP/Active Directory/Novell Directory attributes of a user through the following public API:

import ch.ivyteam.ivy.security.IUser;

IUser user = ivy.session.getSessionUser();
user.getProperty("PhoneNumber")

Moreover, you have to map the user property "PhoneNumber" to the LDAP/Active Directory/Novell Directory attribute that contains the phone number (e.g. "phone"). This has to be done in the Security System Settings of the application using the Administrator application on the Xpert.ivy Server. alt text

link

answered 13.01.2014 at 12:03

Reto%20Weiss's gravatar image

Reto Weiss ♦♦
4.3k172450
accept rate: 73%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×13
×8
×2

Asked: 13.01.2014 at 11:48

Seen: 1,377 times

Last updated: 13.01.2014 at 12:03