mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
640 B
45 lines
640 B
|
|
|
|
// Security.MOF
|
|
// Revised Security Schema MOF
|
|
|
|
|
|
[abstract]
|
|
|
|
class __Subject : __SecurityRelatedClass
|
|
{
|
|
[key] string Name;
|
|
|
|
boolean Enabled = FALSE;
|
|
|
|
[values("Read", "InstanceWrite", "ClassWrite")]
|
|
|
|
sint32 Permissions = 0; //0,1,2 = one of the above enums
|
|
|
|
boolean ExecuteMethods = FALSE;
|
|
boolean EditSecurity = FALSE;
|
|
};
|
|
|
|
[abstract]
|
|
class __User : __Subject
|
|
{
|
|
};
|
|
|
|
class __NTLMUser : __User
|
|
{
|
|
string Domain;
|
|
sint32 Flags; // Reserved
|
|
};
|
|
|
|
[abstract]
|
|
class __Group : __Subject
|
|
{
|
|
};
|
|
|
|
class __NTLMGroup : __Group
|
|
{
|
|
[values("Local", "Global")]
|
|
|
|
sint32 GroupType; //0=Local, 1=Global
|
|
string Domain;
|
|
};
|