PackageManagerAliases.

PmDisableUser(ICakeContext, string, string, AdbToolSettings) Method

Summary

Disables a user for the given package or component.
Assembly
Cake.Android.Adb.dll
Namespace
Cake.AndroidAdb
Containing Type
PackageManagerAliases

Syntax

public static void PmDisableUser(this ICakeContext context, string packageOrComponent, string forUser = null, AdbToolSettings settings = null)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext Context.
packageOrComponent string Package or component (written as "package/class").
forUser string For user.
settings AdbToolSettings Settings.

Return Value

Type Description
void