Used by services, systems , programs and etc to uniquely identify the user. The User ID might or might not coincide with the user name.
Questions tagged [userid]
455 questions
3
votes
1 answer
Twitter - get user_id or screen_name querying by user e-mail
I'm trying to get the user_id or screen_name querying per e-mails on Twitter.
We have a website and also a database of users. I have also all user's e-mail and I'd like to query if they have a Twitter account, and if so, get the screen_name or…

Diego Dev
- 31
- 2
3
votes
3 answers
How to retrieve data from one single userID Firebase Android
In my firebase database, I have list of users that have different information under them. I would like to retrieve information from a single userId, which I will define in the code and I want to only get information from that user.
My data looks…

Josh Joe
- 65
- 1
- 2
- 9
3
votes
1 answer
Getting a user ID and a process group ID from a task_struct and a pid_namespace
I'm trying to modify Linux kernel and I need to get the user ID and the process group ID from a task_struct and a pid_namespace. Although I searched their definitions in the source code, I couldn't find any global variables or functions (maybe I am…

user5508821
- 33
- 1
- 3
3
votes
1 answer
How to start Java program as root but downgrade to non-root user
I am writing a Java program which will be running on Linux servers. The program needs to start as "root", do a certain operation (reading a file), and then downgrade itself to a non-root user, after the file has been read and closed.
I read through…

BlueChips23
- 1,861
- 5
- 34
- 53
3
votes
2 answers
where to implement setUserIdentifier function from crashlytics in swift
I am new to swift.
I am now trying to implement crashlytics in to my app.
I have followed the tutorial to implement it for basic report but I want to implement userID so that I know who has problem using my app.
I have checked online and found…

Jun Luo
- 139
- 1
- 13
3
votes
1 answer
Sessions and user_id in rails
I'm having a lot of trouble understanding sessions and authentication with Rails. So basically, I tried to set a session based on user_id, following a tutorial from a book. Here is the create method in my sessions_controller.rb file:
def create
if…

roonie
- 763
- 1
- 9
- 15
3
votes
3 answers
Google Analytics universal is not tracking page views nor events when user-id is set
Recently we update our system to work with google analytics universal. We migrated the property to use universal analytics, and a few days later, we made the code changes according to the guide:…

Albert Casadessús
- 294
- 3
- 12
3
votes
3 answers
How to get WP7-style ANID on Windows Phone 8?
I have a Windows Phone 7 app which relies on ANID to store user data on remote server. Now I'm preparing Windows Phone 8 version of it. When user will download this update previous WP7 app version will be replaced by this new WP8 version.
But there…

Tertium
- 6,049
- 3
- 30
- 51
3
votes
0 answers
Android AccountManager.getUserData() works without same sharedUserID as opposed to documentations
i have two applications that share the same authenticator code.
Both apps are signed with the same signature.
UID in the manifest file is not set for any of the apps.
I cannot uninstall and reinstall the apps or change their UID in the manifest file…

dora2010
- 110
- 8
3
votes
1 answer
PHP: Storing the logged in user
When having user login to the site I need to somehow store the logged in user id so that my site can generate different content for different users.
Is it secure to save a user's id in a $_SESSION[] variable?
Is it possible for a user to change the…

Oskar Persson
- 6,605
- 15
- 63
- 124
3
votes
0 answers
Application with sharedUserId kills other apps with the same uid when installed
I have two applications, let's call them APP-A and APP-B, they share the userid "com.example.app.USER", if APP-A is running and I install APP-B, APP-A closes.
Does anyone know if this behavior is intended?
If it is, could you link to any reference…

Saito Mea
- 455
- 4
- 11
3
votes
1 answer
ASP.NET MVC get userId when creating user?
I want to get UserId When registering
[AllowAnonymous]
[HttpPost]
public ActionResult Register(RegisterModel model)
{
if (ModelState.IsValid)
{
// Attempt to register the user
…

AliRıza Adıyahşi
- 15,658
- 24
- 115
- 197
2
votes
4 answers
Object reference not set to an instance of an object.
My codes below don't have any errors during the compile time but when I open the page an error occur at the Guid currentUserId = (Guid)currentUser.ProviderUserKey; stating that Object reference not set to an instance of an…

Ernie Ahsir
- 27
- 2
- 7
2
votes
2 answers
Considerations in making auto_incremented user id visible?
I've noticed that SO and other sites use the auto-incrementing primary key of the user table as a publicly viewable user id (at least I assume this is what they are doing). In the case of SO, the user's profile can be viewed if you know or can guess…

itsmequinn
- 1,054
- 1
- 8
- 21
2
votes
1 answer
Is the UserId in LVL responses unique?
I am using Googles Licensing in my apps and I wonder if the UserId that is part of the license answer from the market is unique to the user?

Hokascha
- 1,709
- 1
- 23
- 41