API Reference
Class
LocalUserPolicySource
Convenience API to load/save per-user Local GPO (registry.pol) as an IPolicySource (PolFile).
Inheritance
- Object
- LocalUserPolicySource
Methods
public static PolFile Load(String userSid) #Returns:
PolFileLoads a per-user Local GPO registry.pol for the given SID (creates an empty PolFile when missing).
Parameters
- userSid System.String
public static Void Save(String userSid, PolFile pol) #Returns:
VoidSaves the provided PolFile as per-user Local GPO for the given SID (creates the directory tree).
Parameters
- userSid System.String
- pol ADPlayground.Gpo.GpoLocal.PolFile