Partager via


2.2.3.7 SECURITY_QUALITY_OF_SERVICE

The SECURITY_QUALITY_OF_SERVICE structure defines information used to support client impersonation.

This structure has no effect on message processing in any environment.

 typedef struct _SECURITY_QUALITY_OF_SERVICE {
   unsigned long Length;
   SECURITY_IMPERSONATION_LEVEL ImpersonationLevel;
   SECURITY_CONTEXT_TRACKING_MODE ContextTrackingMode;
   unsigned char EffectiveOnly;
 } SECURITY_QUALITY_OF_SERVICE,
  *PSECURITY_QUALITY_OF_SERVICE;

Length: This value MUST be ignored. No requirements are placed on its value because it is never used.

ImpersonationLevel: This field contains information (as specified in section 2.2.3.5) given to the server about the client that describes how the server can represent, or impersonate, the client.

ContextTrackingMode: This field specifies how the server tracks changes to the client's security context (as specified in section 2.2.3.6).

EffectiveOnly: This field specifies whether the server can enable or disable privileges and groups that the client's security context might include. This value MUST be TRUE (nonzero) if the server has this right; otherwise, it MUST be FALSE (0).