# Print output for @column tags ?> Credentials - Android SDK | Android Developers

Most visited


Recently visited


Credentials

public class Credentials
extends Object

java.lang.Object
   ↳ android.net.Credentials


A class for representing UNIX credentials passed via ancillary data on UNIX domain sockets. See "man 7 unix" on a desktop linux distro.

Summary


Public constructors

Credentials(int pid, int uid, int gid)

Public methods

int getGid()
int getPid()
int getUid()

Inherited methods

Public constructors


Credentials

public Credentials (int pid, 
                int uid, 
                int gid)

Parameters
pid int

uid int

gid int

Public methods


getGid

public int getGid ()

Returns
int

getPid

public int getPid ()

Returns
int

getUid

public int getUid ()

Returns
int

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.