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
9
votes
3 answers
Is it secure to put the user id as a url parameter?
I am developing a social network and I would like to know if in the profile page of a user I could put the user id stored in database as a parameter in the url or is it a bad idea in terms of security?
I want the url to be bookmarkable. Should I put…

Aliuk
- 1,249
- 2
- 17
- 32
9
votes
1 answer
Get the BuddyPress activity id from the avatar
When an user upload an new avatar, the avatar is posted in the activity wall.
How can I get this activity ID by using the userId?
I think the only way is to create an own query, right?

Peter
- 11,413
- 31
- 100
- 152
9
votes
1 answer
tortoise svn shows useid, how can I change displayed name for author
Our org uses funny user ids - rzhxxn etc.
In tortoise svn log/blame etc, i want to see the author name.
Is there anyway to create a mapping file to see the real name instead of id?

Kalpesh Soni
- 6,879
- 2
- 56
- 59
8
votes
5 answers
How should I store windows userid in database?
Currently I am storing windows account of a user as nvarchar(10) in sql server, is this the correct way to store userids? What should be the data type? or should I even store userids?

HOY
- 1,067
- 10
- 42
- 85
6
votes
3 answers
How to get User()->id in Controllers (Laravel 8+)
I am trying to select tasks by user('id'), but I can't get it in a Controller, where I selecting data from DB.
I have tried many thing and some of them from stackoverflow, but it isn't working.
I tried:
1. $userId = Auth::check() ? Auth::id() :…

K.Igor
- 143
- 1
- 2
- 10
6
votes
2 answers
Why saved set userID is needed?
In Unix, when exec
If Real user ID is not same with file owner, and Set user ID bit is on, then, effective user id is changed to file owner's, and saved set user ID too.
Because Effective user ID is copied to Saved set user ID when exec.
At this…

manutd
- 564
- 9
- 22
6
votes
1 answer
Discord <@!userid> vs <@userid>
so I'm creating a bot using Node.JS / Discord.JS and I have a question.
On some servers, when you mention a user, it returns in the console as <@!userid> and on other it returns as <@userid>.
My bot has a simple points / level system, and it saves…

a person
- 73
- 1
- 1
- 3
6
votes
3 answers
MQRC_NOT_AUTHORIZED error while connecting to Websphere MQ 7.1
I am "very" new to IBM Websphere Mq, I'll try to give as much details as possible.
I've got Websphere MQ 7.1 installed on Windows server 2003 running on Vmware Workstation. The Host is running Windows 7 with Websphere MQ Client and my ASP.NET…

MqDebug
- 85
- 2
- 2
- 7
5
votes
3 answers
Having permissions issues with Grafana 7.3.0 on Docker
I'm using docker-compose to create a Docker network of containers with InfluxDB, a python script and Grafana to harvest and visualize response codes, query times & other stats of different websites.
I am using Grafana image 7.3.0 with a volume,
I…

Loys Caucheteux
- 259
- 1
- 2
- 8
5
votes
2 answers
Ensure both user name and user id are the same in host and Docker container
I'm trying to run a Docker container with a custom made image, with a given user. I have an entrypoint.sh, that can change the running user according to an environment variable provided at the Docker command line, with -e USER=myuser.
I have the…

J C Gonzalez
- 861
- 10
- 23
5
votes
2 answers
How to get current user id angular 4?
I have to get current user ID to use it in different parts in my app..
login.component.ts:
onSignin(form: NgForm){
const UserName = form.value.UserName;
const Password = form.value.Password;
this.authService.signinUser(UserName,Password).map(res =>…

Aya Abdelaziz
- 355
- 3
- 10
- 23
5
votes
3 answers
NodeJS Module "userid" Error: Module version mismatch. Expected 46, got 47
I get the following error when trying to start my server.js which requires the module "userid".
module.js:460
return process.dlopen(module, path._makeLong(filename));
^
Error: Module version mismatch. Expected 46, got 47.
…

Kevin Keller
- 61
- 3
- 6
5
votes
3 answers
Codeigniter how to get userid after login
I have successfully created a registration and login system.
I have used useremail and password in the login form and I want to display the username and other properties related to that logged in user.
What are the simplest and best practices to get…

Hombre Filiz
- 53
- 1
- 2
- 6
5
votes
1 answer
How to get Google USER ID (not the device ID) for sure?
There are several methods to identify a device - IMEI/IMSI/ESN, GoogleID, your own encrypted GUID, saved in private store, etc.
But as long as people switch their devices every 3-6 months it's important to identify not the device but exactly the…

Tertium
- 6,049
- 3
- 30
- 51
4
votes
3 answers
Convert Facebook names to id numbers
I've noticed some difference in Facebook profiles :
Some of them have the following string format at browser nav bar :
http://facebook.com/john.smith
and the others look like this :
http://www.facebook.com/profile.php?id=100455*
Can someone explain…

Ivelius
- 4,953
- 7
- 30
- 54