SetTimeZoneCommand.SetAccessToken(Boolean) Method

Definition

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.

Applies to