mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
2ba1da4d58
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2372 21ef857c-d57f-4fe0-8362-d861dc6d29cd
31 lines
1.1 KiB
C#
31 lines
1.1 KiB
C#
using System;
|
|
|
|
namespace ProcessHacker.Native.Security
|
|
{
|
|
[Flags]
|
|
public enum SamUserAccess : uint
|
|
{
|
|
ReadGeneral = 0x1,
|
|
ReadPreferences = 0x2,
|
|
WritePreferences = 0x4,
|
|
ReadLogon = 0x8,
|
|
ReadAccount = 0x10,
|
|
WriteAccount = 0x20,
|
|
ChangePassword = 0x40,
|
|
ForcePasswordChange = 0x80,
|
|
ListGroups = 0x100,
|
|
ReadGroupInformation = 0x200,
|
|
WriteGroupInformation = 0x400,
|
|
All = StandardRights.Required | ReadPreferences | ReadLogon |
|
|
ListGroups | ReadGroupInformation | WritePreferences |
|
|
ChangePassword | ForcePasswordChange | ReadGeneral |
|
|
ReadAccount | WriteAccount | WriteGroupInformation,
|
|
GenericRead = StandardRights.Read | ReadPreferences |
|
|
ReadLogon | ReadAccount | ListGroups | ReadGroupInformation,
|
|
GenericWrite = StandardRights.Write | WritePreferences |
|
|
ChangePassword,
|
|
GenericExecute = StandardRights.Execute | ReadGeneral |
|
|
ChangePassword
|
|
}
|
|
}
|