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
16
votes
2 answers

Computing the size of UID possibilities

Per DICOM specification, a UID is defined by: 9.1 UID Encoding Rules. In other words the following are valid DICOM…
malat
  • 12,152
  • 13
  • 89
  • 158
15
votes
1 answer

Firebase - Unique ID for every user

I am building a firebase based android application which involves multiple user who authenticate and login to app. I want to provide a Unique to each users who authenticate&login and which will not be changed even if user reinstall the application…
15
votes
1 answer

ICS (iCalendar) UID purpose and use

I'm creating a sync adapter towards ICS files in Java, and I have a problem recognizing the same events across new updates towards a remote file which is dynamically created. So I thought, great I can just use the UID, it turns out it's randomly…
user1004147
  • 315
  • 1
  • 2
  • 10
13
votes
3 answers

How would a thread created by an app be considered a different app from the app's ContentProvider?

I have an app that, when notified by a ContentObserver of a change to a ContentProvider, attempts to query the provider on a background thread. This causes an SecurityException to be thrown: 8-10 15:54:29.577 …
Julian A.
  • 10,928
  • 16
  • 67
  • 107
13
votes
2 answers

Is the uid_t type signed or unsigned?

I know that the standard doesn't say anything about the signedness of uid_t or gid_t. Inconsistency: Page http://www.gnu.org/software/libc/manual/html_node/Reading-Persona.html says: In the GNU C Library, this is an alias for unsigned int. But man…
Antonio Rizzo
  • 748
  • 1
  • 8
  • 17
12
votes
2 answers

Binding const member in code behind from xaml in WPF

Is there any good way to bind a property to a const value in codebehind? When I use ComboBox, I usually do this way in xaml and code behind: XAML:
Aki24x
  • 1,058
  • 1
  • 13
  • 28
12
votes
1 answer

How to generate unique DICOM UID?

I am working on DICOM gated (PET) data. I would like to artificially create a DICOM image series which includes gated data. I am inquiring on the increment values of SOPInstanceUID which labels each image slice in each phase or gate. These have…
emmasaunders123
  • 149
  • 1
  • 1
  • 4
12
votes
4 answers

Linux - How to list all users and their UIDs

How to write a script for linux which list all users from /etc/passwd and their UID User1 uid=0001 User2 uid=0002 ... the script should use: grep, cut, id, for
Tadeusz Majkowski
  • 612
  • 2
  • 8
  • 26
10
votes
2 answers

Is there a way to get the uid of the other end of a unix socket connection

Is there a way for a UNIX domain socket listener to only accept connection from certain user (chmod/chown does not work for abstract socket afaik), or in another word, get the uid of the incoming connection (on Linux)? Dbus, which uses abstract unix…
yuyichao
  • 768
  • 6
  • 28
10
votes
2 answers

How to get user name using UID on Android?

I got several UIDs like this: 10022, 10011, 1000 Actually I know the user names of them are u0_a22, u0_a11, system. But the question is, how can I get the user name using UIDs? There is no /etc/passwd file at all.
Haoliang
  • 1,047
  • 3
  • 12
  • 14
9
votes
2 answers

Can I assume that nobody is 65534?

I'm writing a setuid root program. This program needs to open a file for writing and then write some content. It needs euid 0 only for opening the file, then it can drop privileges. To drop privileges, I could seteuid to the current uid. But I was…
Likk
  • 747
  • 3
  • 7
  • 8
8
votes
2 answers

Is it true that DICOM "Media Storage SOP Instance UID" = "SOP Instance UID"? Why?

I have two questions when I am reading the DICOM standard: In a DICOM file, (0002 0003)"Media Storage SOP Instance UID" and (0008 0018) "SOP Instance UID", are they the same? What about (0002 0002) and (0008 0016)? and Why ??
Sujeeth Damodharan
  • 477
  • 2
  • 7
  • 16
8
votes
2 answers

How to determine the UID of a message in IMAP

I'm working in a mail client project using C#. I'm using both the POP and IMAP protocol to communicate with the server. The problem is than I can not figure out why when I want to get the UID for a message the result from the POP server and the IMAP…
Emanuel
  • 6,622
  • 20
  • 58
  • 78
8
votes
2 answers

How UID of an app determined during install in Android?

The following link gives a brief description about package installation process in android. http://java.dzone.com/articles/depth-android-package-manager I'm curious to know how the UID of an app is determined during its installation based on set the…
Adi GuN
  • 1,244
  • 3
  • 16
  • 38
7
votes
2 answers

Is suffixing a UUID derived DICOM UID standard conform?

Additional discussion on the comp.protocols.dicom google group. Specific example: Given that instance UIDs are derived from UUIDs as described in PS3.5 B.2. For example given the following DICOM instance…
Spenhouet
  • 6,556
  • 12
  • 51
  • 76
1
2
3
24 25