Language

Os.Seteuid(Int32) Method

Definition

See seteuid(2).

[Android.Runtime.Register("seteuid", "(I)V", "")]
public static void Seteuid(int euid);
[<Android.Runtime.Register("seteuid", "(I)V", "")>]
static member Seteuid : int -> unit

Parameters

euid
Int32

The effective user ID to set for the calling process.

Attributes

Exceptions

Remarks

See seteuid(2).

This member is deprecated on Android 10 (API level 29) and later. Android applications generally lack the privileges to change their effective user ID. Setting it to its current value can succeed.

Java documentation for android.system.Os.seteuid(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to