HMHome.RemoveUserAsync(HMUser) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the user who is specified by userID
from the home and runs completion
after it has finished.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "This API in now prohibited on iOS. Use 'ManageUsers' instead.")]
[ObjCRuntime.NoTV]
[ObjCRuntime.NoWatch]
[ObjCRuntime.Obsoleted(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, "This API in now prohibited on iOS. Use 'ManageUsers' instead.")]
public virtual System.Threading.Tasks.Task RemoveUserAsync (HomeKit.HMUser user);
abstract member RemoveUserAsync : HomeKit.HMUser -> System.Threading.Tasks.Task
override this.RemoveUserAsync : HomeKit.HMUser -> System.Threading.Tasks.Task
Parameters
- user
- HMUser
Returns
A task that represents the asynchronous RemoveUser operation
- Attributes