Inactive User

Hi All, Is there any function to get all the inactive users in the system?

OriginalPostID-264616

  Discussion posts and replies are publicly visible

Parents
  • Hi, you can use IsUsernameTaken(). If it helps, I have created an expression rule that checks whether a user exists or not and correspondingly returns the username or null based on the result. Feel free to refer this.
    if(
    rule!APN_isBlank(
    ri!user
    ),
    null,
    if(
    IsUsernameTaken(
    ri!user
    ),
    user(
    ri!user,
    "firstName"
    ) & " " & user(
    ri!user,
    "lastName"
    ),
    ri!user
    )
    )
Reply
  • Hi, you can use IsUsernameTaken(). If it helps, I have created an expression rule that checks whether a user exists or not and correspondingly returns the username or null based on the result. Feel free to refer this.
    if(
    rule!APN_isBlank(
    ri!user
    ),
    null,
    if(
    IsUsernameTaken(
    ri!user
    ),
    user(
    ri!user,
    "firstName"
    ) & " " & user(
    ri!user,
    "lastName"
    ),
    ri!user
    )
    )
Children
No Data