SetTimeZoneCommand.SetAccessToken(Boolean) 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.
Set the SeTimeZonePrivilege, which controls access to the SetDynamicTimeZoneInformation API
protected:
void SetAccessToken(bool enable);
protected:
void SetAccessToken(bool enable);
void SetAccessToken(bool enable);
protected void SetAccessToken (bool enable);
member this.SetAccessToken : bool -> unit
Protected Sub SetAccessToken (enable As Boolean)
Parameters
- enable
- Boolean
Set to true to enable (or false to disable) the privilege.