LDAP plugin

Confluence User - 19 Dec, 2018

Hi !

i want to use "job Title" in a script.

 

How can i do to get this attibute ?  from user or employment ?

is there a  get method ?

Thanks

 

Fred

ldap;script;#beanshell

3


19 Dec, 2018
confluenceUser
confluenceUser

Hi

Use "Employment", in the LDAP field "Attribute Mapping - Job Title".

LDAP Directory Manager

19 Dec, 2018
confluenceUser
confluenceUser

Thanks andrew.

 

I use this code  in Edit Category > Configure Bean Shell Permission :

 

 

if (employment.getRole().equalsIgnoreCase("SOUS DIRECTEUR")) {

    return true;

} else {

    return false;

}

 

But it does not work...

19 Dec, 2018
confluenceUser
confluenceUser

see next response...

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print