WordPress.org

Ready to get started?Download WordPress

Forums

Active Directory Integration
Meta for phone number won't display (4 posts)

  1. hept27
    Member
    Posted 5 months ago #

    So I've been able to successfully pull in every other bit of meta for a given user but the phone number. I've ran a test user and I get

    [telephonenumber] => Array
                     (
                         [count] => 1
                         [0] => +18053852564
                     )
    
                 [3] => telephonenumber

    So I do a user attribute of:
    telephonenumber:string

    and an attribute to show of:
    telephonenumber:Phone (work):*

    Just as the example outlines, and I've tried other conceivable ways of writing it out to no avail. The telephone number isn't nested in any arrays. Could it have something to do with the plus sign?

    THANKS!

    https://wordpress.org/plugins/active-directory-integration/

  2. Fred D
    Member
    Posted 4 months ago #

    Hi,

    The * is usefull if your meta is a list. Here telephonenumber is a string, maybe you should try without the *.

  3. hept27
    Member
    Posted 4 months ago #

    Thanks Fred D, I wish I could say that worked but it didn't.

    If you have any other suggestions I'd be glad to hear them.

  4. Fred D
    Member
    Posted 4 months ago #

    Well, not for now but I must test this attribute too because we need it in my organization, so I will come back and tell you if it worked for me.

Reply

You must log in to post.

About this Plugin

About this Topic