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
0
votes
1 answer

Adobe Flex: How to convert UID to a hex string?

I need to convert a UID like 'ff5ac81c-fc51-9442-b993-60cff48c6b39' to a Hex-String in Flex. In C# I can use the format parameter like this: public static string GuidToHex(Guid guid) { return ByteToHex(guid.ToByteArray()); } public static…
LKa
  • 11
  • 4
0
votes
1 answer

Issues with extracting Facebook Omniauth Authentication uid on Rails 3.1

I'm trying to extract and save in my db, the uid of a Facebook user's Omniauth Authentication. When I issue the command user.authentications, the resulting array is displayed: [ < Authentication id: 3, user_id: 63, provider: "facebook", uid:…
hjaved
  • 1,585
  • 2
  • 10
  • 10
0
votes
1 answer

Facebook UID of 10-digits instead of 9-digits UID

In my application I need to know the user's Facebook uid. I get by using the following query using the Facebook API for IOS. NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: @"SELECT…
Adagio
  • 735
  • 10
  • 20
-1
votes
2 answers

extract UID from /etc/passwd using RegEx

I would like to extract UID from /etc/passwd file which looks like this- www-data:x:33:33:www-data:/var/www:/bin/sh The problem I'm facing is that even if I match first 33, the second 33 (GID) is also getting matched. How I match first occurrence…
user837208
  • 2,487
  • 7
  • 37
  • 54
-1
votes
2 answers

How i can change the uid and pid of my app?

I was tryng to reboot my device with my app, but it throws an exception with Error message "The app with xxxx uid and with xxxx pid you can't reboot the device". So, if I can search what is the pid or uid that can, may be like a pid of alarm or…
titusfx
  • 1,896
  • 27
  • 36
-1
votes
1 answer

Can't cp or write or install in ubuntu docker container

Team, how can i make jenkins a privilege user? I wrote a dockerfile and successfully built an image but after running a container and I exec in, I cannot run any write command and get Permission denied. so does it imply the user that i added in end…
AhmFM
  • 1,552
  • 3
  • 23
  • 53
-1
votes
2 answers

How to create a custom id using auto increment at the time of table creation in My SQL

Is there a way to set at the time of creating a table a custom ID with some character as prefix and the rest are numbers which is auto incremented so that the first time a record is inserted the ID will be "UID0000001" and the second time a record…
-1
votes
1 answer

Create unique identifier with custom format using Plain Javascript

I know that the format of uuid is XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX. But I dont want to create a uuid, I want to create a unique identifier with a different format such as XXX-XXXX-XXX. How do I do that using plain javascript and no…
-1
votes
1 answer

test case to make os.getuid() and os.geteuid() return different results

I got the same uid and euid even though the file belongs to root and has the suid bit set. Does anybody know how to make a test case to let getuid() and geteuid() return different results? Thanks. $ cat main.py #!/usr/bin/env python3 import…
user1424739
  • 11,937
  • 17
  • 63
  • 152
-1
votes
3 answers

Create a node named a user's uid in firebase database from a textfield that displays their name

I am sending information to my firebase database via textfields. I would like to make one of the nodes Users and then under that node different nodes separated by a user's uid. Under each UID node there would be three datapoint from textfields that…
-1
votes
2 answers

Get id of user on host, from a docker

From inside a container, I would like to get the id of a user on the host machine (what the command id -u username would output, from the host). Is there a way to accomplish this? I thought I could mount /etc/passwd in the container and grep…
bruno
  • 69
  • 5
-1
votes
1 answer

Instance member 'jpegData' cannot be used on type 'UIImage'; did you mean to use a value of this type instead?

I have two errors here. I have tried all the recommended options but still not working! pls baby steps Auth.auth().createUser(withEmail: emailTextField.text!, password: passwordTextField.text!, completion: { user, error in if error !=…
-1
votes
2 answers

How to make long command in IMAP?

I want to make a long command with FETCH that gives me : 1.What is UID ? 2.What is attachment ? and other things
-1
votes
1 answer

Can I get the the UID of a given PID using C

I want to get the user ID of a given process ID using C How can I do it? Any insight appreciated ;)
Max
  • 29
  • 1
  • 6
-2
votes
1 answer

Powershell guid is not unique when I run it in multiple threads - How can I make it unique?

I am running a script in powershell in multiple threads (multiple shells), and I'm finding that its possible for the NewGuid powershell function to generate values in powershell 7 that are not actually unique when run at the same…
openCivilisation
  • 796
  • 1
  • 8
  • 25
1 2 3
24
25