定义用户的类型。
语法
typedef enum tagAutomaticUpdatesUserType {
auutCurrentUser = 1,
auutLocalAdministrator = 2
} AutomaticUpdatesUserType;
常量
auutCurrentUser值:1 当前用户的上下文。 |
auutLocalAdministrator值: 2 本地计算机上的任何管理员。 |
注解
AutomaticUpdatesUserType 与 IAutomaticUpdatesSettings2::CheckPermission 方法结合使用。
要求
| 最低受支持的客户端 | Windows XP、Windows 2000 Professional SP3 [仅限桌面应用] |
| 最低受支持的服务器 | Windows Server 2003、Windows 2000 Server SP3 [仅限桌面应用] |
| 标头 | wuapi.h |