locked
Claim Value Not Equal RRS feed

  • Question

  • I want to use if UPN suffix is not equal "consoto.com" the issue custom claim. Is this possible?

    this custom claim is working

    c1:[Type == "newupn", Value == "consoto.com"]
     && c2:[Type == "Newwindowsaccountname"]
     => issue(Type = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier", Value = c2.Value + "@" + "consoto.local");

    I want to do the same but is not equal "consoto.com" then send c2.value + "@" + "fabrikam.local"

    Thanks

    Thursday, April 12, 2018 9:25 PM

All replies

  • I got it works, just add ignore case sensitive in the rule
    Friday, April 13, 2018 5:50 PM