Questions tagged [uid]

uid refers to a string used for record keeping which is not guaranteed to be unique, but should be in the large majority of use cases.

uid stands for one of the following:

  • user identifier
  • unique identifier

References

368 questions
1
vote
2 answers

Restrict Page to Specific Session ID

I wrote a simple login system and that is working. I've set up a few pages that are only viewable when logged in. I want to restrict a page to specific session IDs. How would I go about doing that? This is what I'm using to restrict pages right now:…
Tyler Tracy
  • 73
  • 1
  • 10
1
vote
1 answer

Airflow Scheduler gives error KeyError: 'getpwuid(): uid not found

while running docker container after the build of a local image for airflow using specific userid, then scheduler complaints above subject error. File "/usr/lib64/python3.5/getpass.py", line 170, in getuser return…
change198
  • 1,647
  • 3
  • 21
  • 60
1
vote
1 answer

Slurm srun --uid behavior

We are trying to use slurm in our uni lab but we can't quite understand slurmUser behavior. For instance: If I run srun while I'm logged in as the user 'acnazarejr' (srun -n1 id -a), then I would expect something like…
1
vote
2 answers

How to generate unique id

How can we generate unique id's between two JVMs running at the same time? I think UUID uuid = UUID.randomUUID(); or UID uid = new UID(); is not enough.
Lilit Mkrtchyan
  • 135
  • 1
  • 2
  • 11
1
vote
1 answer

IMAP UID FETCH BODY.PEEK[] command response

I'm now developing a simple IMAP-client. To recieve message body I'm using command "UID FETCH message-UID BODY.PEEK[]". The question is can I be sure that one of the server responses on the command will be "* message-sequence-number FETCH (UID…
Anton Todua
  • 667
  • 4
  • 15
1
vote
1 answer

How to get uid in bionic libc?

I am trying to get the uid of the process calling dns files in bionic libc. I know using current->cred->uid.val is used to get the uid in android/linux kernel, but how to get the uid in bionic libc. I don't think the same will work. Can you please…
1
vote
1 answer

Save multiple data with same uid to Firebase database

I'm working in Android Studio on an app that uses Firebase for signing in and store data to its realtime database. I'm using the default firebase database rules, so only authenticated users can write/read in the database. I've an activity…
Reyd
  • 25
  • 1
  • 4
1
vote
2 answers

Bash Script - get User Name given UID

How - given USER ID as parameter, find out what is his name? The problem is to write a Bash script, and somehow use etc/passwd file.
PaulW
  • 29
  • 1
  • 6
1
vote
3 answers

Is this a good way to create a short UID for a URL?

Hey guys, I am trying to find a way to generate a UID to be placed in a URL. Right now I am looking at ways to create a UID's without using a sequential index from a db. This is what I have come up with. As far as I can tell this should only create…
Dreendle
  • 161
  • 4
1
vote
2 answers

Can Strongloop generate string uids?

I want to stop using autogenerated number ids for my models on Strongloop. Can Strongloop generate string uids like e.g. 067e6162-3b6f-4ae2-a171-2470b63dff00?
Martin
  • 11
  • 3
1
vote
1 answer

Using JavaMail how do I do a search and get a Message Array with UIDs I can reference?

So I am trying to figure out how to get messages with UIDs IMAPStore store = (IMAPStore) session.getStore("imaps"); store.connect(); IMAPFolder folder = (IMAPFolder) store.getFolder(FOLDER_NAME); folder.open(Folder.READ_ONLY); Then I want to search…
davesbrain
  • 606
  • 7
  • 12
1
vote
1 answer

nearby messages api: how to retrieve pictures and videos?

I'm actually working on an android mobile application for proximity marketing, my app is supposed to receive cards and coupons from marketers and display the received items. The following code is from google developers and it demonstrates using a…
1
vote
3 answers

Firebase uid returning nil after authentication (Swift)

In my app, as soon as it opens I check to see if the user is already authenticated in the viewdidload of the initial view. If they are already authenticated, I perform a segue to the main view. I'm even printing the uid to the log at this time and…
FortuneFaded
  • 1,259
  • 4
  • 20
  • 28
1
vote
1 answer

linux | synchronize uid and gid

I'm really new about linux so this question is pretty dumb i know. Sorry for that. I checked the user and group and some of users' uid and gid are different so I just wanna make them synchronized. tail -6…
user3503072
  • 437
  • 1
  • 4
  • 10
1
vote
1 answer

How to get GPS usage per application?

I am writing app to monitor data usage by other installed applications. By far, I managed to get data usage through mobile and wlan interface. It will be pretty useful if I could track GPS usage per application (or UID). I dont know how it will be…
szkodnik
  • 23
  • 4