You are viewing limited content. For full access, please sign in.

Question

Question

user_type in cf_users for creating a list of usernames

asked on August 2, 2018 Show version history

Hello All,

Can someone please tell me what the difference is between user_type = 4 and user_type = 6?

I have noticed there are 2 rows for one employee and there are 2 differently formatted usernames in the username column.

In the cf_users table one username is a DOMAIN\username and another is username@email.com.

Example:

username               email                      password      user_type

JDoe@city.com      JDoe@city.com      NULL             4

DOMAIN\JDoe       JDoe@city.com      NULL             6

 

I would like to omit any 4 user_types and need to know how that will impact the data.

 

@████████, have you ever seen this?

 

Thanks!

 

 

0 0

Answer

SELECTED ANSWER
replied on August 2, 2018 Show version history

Chris,

At first glance, this looks like it might be the difference between a fully licensed user or AD user and a participant or LDAP user.

When we still had LDAP participants before switching to LFDS authentication, the username for participants was their email instead of their domain account.

If you are using Repository Authentication for Forms, Full/Participant licensing would create separate entries whereas LFDS authentication references the same username regardless of license type.

1 0
replied on August 2, 2018

Thanks Jason. These are some good clues. 

0 0
replied on August 2, 2018

I concur.  We see two records for each user.  The main one is created the first time they login, and then the domain one is created if they use Windows authentication to login.  I'm out of the office so I can't confirm the thing about user types.

1 0
replied on August 3, 2018

Thanks Matt. At closer inspection there is another important column in that table: 

[is_activated]

If I only return records where [is_activated] = 1, then I only get domain name user names. Hope this helps someone down the road.

Thanks!

1 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.