Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
+2
person also asked this
people also asked this
Replies
4 replies
Answers
2 answers
Subscribers
11 subscribers
Views
3661 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Inactive User
gurdeeps
over 8 years ago
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
0
Harsha Sharma
Certified Lead Developer
over 8 years ago
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
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Harsha Sharma
Certified Lead Developer
over 8 years ago
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
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data