Udostępnij za pośrednictwem


CTokenGroups::Add

Dodaje CSid lub istniejące TOKEN_GROUPS struktury do CTokenGroups obiektu.

void Add(
   const CSid & rSid,
   DWORD dwAttributes 
) throw(...);
void Add(
   const TOKEN_GROUPS & rTokenGroups 
) throw(...);

Parametry

  • rSid
    A CSid obiektu.

  • dwAttributes
    Atrybuty, aby skojarzyć z CSid obiektu.

  • rTokenGroups
    A TOKEN_GROUPS struktury.

Uwagi

Te metody dodać jedną lub więcej CSid obiekty i powiązane z nimi atrybuty do CTokenGroups obiektu.

Wymagania

Nagłówek: atlsecurity.h

Zobacz też

Informacje

Klasa CTokenGroups