SecurityLog.TagUserRestrictionAdded Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.Admin.SecurityLogTags enum directly instead of this field.

Indicates that an admin has set a user restriction.

[Android.Runtime.Register("TAG_USER_RESTRICTION_ADDED", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.SecurityLogTags enum directly instead of this field.", true)]
public const Android.App.Admin.SecurityLogTags TagUserRestrictionAdded = 210027;
[<Android.Runtime.Register("TAG_USER_RESTRICTION_ADDED", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.SecurityLogTags enum directly instead of this field.", true)>]
val mutable TagUserRestrictionAdded : Android.App.Admin.SecurityLogTags

Field Value

Value = 210027
Attributes

Remarks

Indicates that an admin has set a user restriction. The log entry contains the following information about the event, encapsulated in an Object array and accessible via SecurityEvent#getData(): <li> [0] admin package name (String) <li> [1] admin user ID (Integer) <li> [2] user restriction (String)

Java documentation for android.app.admin.SecurityLog.TAG_USER_RESTRICTION_ADDED.

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