Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    help writing a simple if else statement

    I have a AD account that has a attrubite called "Account flags" that list in somesone ID cube under the Attributes tab labeled "Employee Status": [User Account is Disabled, Normal User Account, Password Cannot Expire] next to the "Employee Status" for people still employeed and for the not employeed the ID Cube" Employee Status" sttribute will list:[User Account is Disabled, Normal User Account, Password Cannot Expire] I need the "Employee Status" attribute under the user Identity to instead say active or not active instead of [User Account is Disabled, Normal User Account, Password Cannot Expire] next to the Employee Status line in Identity attributes and [User Account is Disabled, Normal User Account, Passwrod Cannot Expire] for non active accounts. I have added a screen shot beeter what I am trying to do.

  • #2
    Senior Coder jmrker's Avatar
    Join Date
    Aug 2006
    Location
    FL
    Posts
    3,146
    Thanks
    39
    Thanked 505 Times in 499 Posts

    Question

    Quote Originally Posted by adeligio View Post
    I have a AD account that has a attrubite called "Account flags" that list in somesone ID cube under the Attributes tab labeled "Employee Status": [User Account is Disabled, Normal User Account, Password Cannot Expire] next to the "Employee Status" for people still employeed and for the not employeed the ID Cube" Employee Status" sttribute will list:[User Account is Disabled, Normal User Account, Password Cannot Expire] I need the "Employee Status" attribute under the user Identity to instead say active or not active instead of [User Account is Disabled, Normal User Account, Password Cannot Expire] next to the Employee Status line in Identity attributes and [User Account is Disabled, Normal User Account, Passwrod Cannot Expire] for non active accounts. I have added a screen shot beeter what I am trying to do.
    Beside the missing "screen shot", do you have any brief example of the HTML code and/or the JS attempt?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •