Questions tagged [userid]

Used by services, systems , programs and etc to uniquely identify the user. The User ID might or might not coincide with the user name.

455 questions
181
votes
8 answers

How to get the currently logged in user's id in Django?

How to get the currently logged-in user's id? In models.py: class Game(models.model): name = models.CharField(max_length=255) owner = models.ForeignKey(User, related_name='game_user', verbose_name='Owner') In views.py: gta =…
k44
  • 1,855
  • 3
  • 13
  • 7
57
votes
8 answers

How to get OS username in NodeJS?

How would I get/find the username that the computer owner is using currently (while logged in), using NodeJS? I have searched around a bit, but haven't found anything.
drowZ
  • 1,783
  • 2
  • 12
  • 17
38
votes
4 answers

How to get Windows user name using different methods?

In .NET, there appears to be several ways to get the current Windows user name. Three of which are: string name = WindowsIdentity.GetCurrent().Name; or string name = Thread.CurrentPrincipal.Identity.Name; or string name =…
Andy
  • 5,188
  • 10
  • 42
  • 59
28
votes
2 answers

Check UserID exists in Active Directory using C#

How can we check whether the USERID exists in Active Directory or not. I have LDAP String and UserID, can I find whether that UserID exists in Active Directory or not. I am using this for ASP.NET Web Application (.NET 3.5)
msbyuva
  • 3,467
  • 13
  • 63
  • 87
25
votes
2 answers

Query Google Analytics by User ID

Is there a way to query results using the Core Reporting API (v3) and filtering those results by the User ID assuming that it is being sent to Google Analytics properly? I've googled this question a lot and read a whole bunch of articles but I did…
Kassem
  • 8,116
  • 17
  • 75
  • 116
22
votes
5 answers

Tracking Individual Users with Google Analytics Custom Variables

I've been working on a support center for my company and we need to track individual users when they login. If possible we would like to track details as well such as pages visited and time spent on the site as well. I'm able to track how many…
Tylertac
  • 223
  • 1
  • 2
  • 5
20
votes
1 answer

What do the identifiers PID, PPID, SID, PGID, UID, EUID mean?

I was assigned to Write a C program that prints the following identifiers PID, PPID, SID, PGID, UID, EUID. The assignment then went on to ask What represents each identifier? I have completed the program, but have not found adequate explanations…
David Deme
  • 331
  • 1
  • 2
  • 3
20
votes
5 answers

Find out my own user ID for sending a message with Telegram API

For Telegram, how can I find out my own user id (chat_id) for use with the Telegram API? I want to send myself a message via the Telegram API, like this: https://api.telegram.org/bot/sendMessage
row248
  • 391
  • 2
  • 3
  • 12
19
votes
2 answers

sharedUserId: safe to change when app is already in market?

For the next version of our application, I want to change the sharedUserId since we now use an internal control dashboard app which must write to the other app's settings files. But since the app is already installed on many phones, will this be a…
mxk
  • 43,056
  • 28
  • 105
  • 132
17
votes
4 answers

Amazon Alexa Skills Kit: How do you link with external app account / userId

In an Amazon alexa skill request, there is a userId. I'm trying to understand what this is and if there is some reference for it because I want to link and Amazon Echo user account with an account in my own app and to do this I would have to have…
Zigglzworth
  • 6,645
  • 9
  • 68
  • 107
16
votes
3 answers

this.userId returns undefined inside Meteor.publish

In one of my Meteor.publish() functions, this.userId has the value of undefined. I can't call Meteor.userId() because it's not available inside a publish function. How are you supposed to get userId now?
Alex Forsyth
  • 177
  • 1
  • 9
15
votes
2 answers

Kubernetes, security context, fsGroup field and default user's group ID running the container

I'm new to Kubernetes and I'm trying to understand some security stuff. My question is about the Group ID (= gid) of the user running the container. I create a Pod using this official example:…
15
votes
6 answers

How to get userID by user Email Firebase android?

Given a email address, is it possbile to get userID of a person? For example, If I have a variable email that has email of the person. Can I get their ID by doing something like String userID = mAuth.DatabaseReference.getuID.(email); Sorry if this…
13
votes
3 answers

Why does iOS get a new identifierForVendor when app updates?

Every time my app is updated from the App Store some small number of the users get a new identifierForVendor for some reason. My users don't sign up or login. They are all anonymous so I need to separate them through their vendor IDs. I've…
Esqarrouth
  • 38,543
  • 21
  • 161
  • 168
12
votes
5 answers

Is mysql auto increment safe to use as userID?

I am working on website that allows people to create profiles online. I was wondering if it is the right choice to use MySQL AUTO_INCREMENTed IDs as my user ids. Also bearing in mind that I might have to duplicate the database across multiple…
Sthe
  • 2,575
  • 2
  • 31
  • 48
1
2 3
30 31