DSCResources/MSFT_xUserResource/MSFT_xUserResource.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
[ClassVersion("1.0.0"), FriendlyName("xUser")]
class MSFT_xUserResource : OMI_BaseResource
{
  [Key] string UserName;
  [write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure;
  [write] string FullName;
  [write] string Description;
  [write,EmbeddedInstance("MSFT_Credential")] string Password;
  [write] boolean Disabled;
  [write] boolean PasswordNeverExpires;
  [write] boolean PasswordChangeRequired;
  [write] boolean PasswordChangeNotAllowed;
};