CSid::CSid
Oluşturucu.
CSid( ) throw( );
CSid(
const SID & rhs
) throw(...);
CSid(
const CSid & rhs
) throw(...);
CSid(
const SID_IDENTIFIER_AUTHORITY & IdentifierAuthority,
BYTE nSubAuthorityCount,
...
) throw(...);
explicit CSid(
LPCTSTR pszAccountName,
LPCTSTR pszSystem = NULL
) throw(...);
explicit CSid(
const SID * pSid,
LPCTSTR pszSystem = NULL
) throw(...);
Parametreler
rhs
Varolan bir CSid nesne veya SID (güvenlik kimliği) yapısı.IdentifierAuthority
Yetki.nSubAuthorityCount
Alt yetki sayısı.pszAccountName
Hesap adı.pszSystem
Sistem adı.Bu dize, uzak bilgisayarın adı olabilir.Yerel Sistem, bu dize null ise, bunun yerine kullanılır.pSid
Bir işaretçi bir SID yapısı.
Notlar
Oluşturucu başlatır CSid nesnesi, bir iç veri üyesi ayarlamak SidTypeInvalid, veya ayarları varolan bir gelen kopyalayarak CSid, SID, ya da varolan bir hesabı.
Başlatma başarısız olursa, kurucu yaratacak bir CAtlException sınıfı.
Gereksinimler
Başlık: atlsecurity.h