Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show claim name in display text #59

Closed
ricorocca opened this issue Jul 13, 2018 · 2 comments
Closed

Show claim name in display text #59

ricorocca opened this issue Jul 13, 2018 · 2 comments
Assignees
Labels

Comments

@ricorocca
Copy link

Hello @Yvand ,

I cannot find the option 'Show claim name in display text' since the last update in Claims mapping section?

Thanks

@Yvand
Copy link
Owner

Yvand commented Jul 26, 2018

Hi @ricorocca
indeed, the setting is not shown in the UI anymore, but you can still set it with PowerShell, e.g.:

Add-Type -AssemblyName "ldapcp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=80be731bc1a1a740"
$config = [ldapcp.LDAPCPConfig]::GetConfiguration("LDAPCPConfig")

$ctConfig = $config.ClaimTypes | ? {$_.ClaimType -eq "http://schemas.microsoft.com/ws/2008/06/identity/claims/primarygroupsid"}
# v11 (not published yet) has a new method GetByClaimType():
$ctConfig = $config.ClaimTypes.GetByClaimType("http://schemas.microsoft.com/ws/2008/06/identity/claims/primarygroupsid")
$ctConfig.ShowClaimNameInDisplayText = $false

$config.Update()

@Yvand Yvand self-assigned this Jul 26, 2018
@Yvand Yvand added the question label Jul 26, 2018
@ricorocca
Copy link
Author

hi @Yvand ,

Thanks for your feedback, i will try on the next upgrade off the farm

@Yvand Yvand closed this as completed Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants