NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Analyzer.Config.Node.PermissionConfiguration Class Reference
Inheritance diagram for Ntp.Analyzer.Config.Node.PermissionConfiguration:
Collaboration diagram for Ntp.Analyzer.Config.Node.PermissionConfiguration:

Public Attributes

uint FileMode => fileMode ?? 644
 The file mode to apply for created files. More...
 
- Public Attributes inherited from Ntp.Analyzer.Config.Node.ConfigurationNode
virtual string FilePath => Parent.FilePath + SubPath
 
virtual string SubPath => string.Empty
 

Package Functions

 PermissionConfiguration (string configName, uint?appUserId, string appUserName, uint?userId, string userName, uint?groupId, string groupName, uint?fileMode)
 
- Package Functions inherited from Ntp.Analyzer.Config.Node.ConfigurationNode
virtual void Assemble ()
 

Properties

uint AppUserId [get]
 
string AppUserName [get]
 The user which is used in execution context. More...
 
uint GroupId [get]
 
string GroupName [get]
 The group owner of created files. More...
 
uint UserId [get]
 
string UserName [get]
 The owner of created files. More...
 
- Properties inherited from Ntp.Analyzer.Config.Node.ConfigurationNode
string ConfigName [get]
 
ConfigurationNode Parent [get, set]
 
- Properties inherited from Ntp.Analyzer.Interface.IConfigurationNode
string ConfigName [get]
 

Private Attributes

readonly uint fileMode
 

Additional Inherited Members

- Protected Member Functions inherited from Ntp.Analyzer.Config.Node.ConfigurationNode
 ConfigurationNode (string name)
 

Detailed Description

Definition at line 27 of file PermissionConfiguration.cs.

Constructor & Destructor Documentation

Ntp.Analyzer.Config.Node.PermissionConfiguration.PermissionConfiguration ( string  configName,
uint?  appUserId,
string  appUserName,
uint?  userId,
string  userName,
uint?  groupId,
string  groupName,
uint?  fileMode 
)
inlinepackage

Definition at line 29 of file PermissionConfiguration.cs.

38  : base(configName)
39  {
40  AppUserId = appUserId;
41  UserId = userId;
42  GroupId = groupId;
43  AppUserName = appUserName ?? AppUserId?.ToString();
44  UserName = userName ?? UserId?.ToString();
45  GroupName = groupName ?? GroupId?.ToString();
46  this.fileMode = fileMode;
47  }
string GroupName
The group owner of created files.
string AppUserName
The user which is used in execution context.

Member Data Documentation

readonly uint Ntp.Analyzer.Config.Node.PermissionConfiguration.fileMode
private

Definition at line 49 of file PermissionConfiguration.cs.

uint Ntp.Analyzer.Config.Node.PermissionConfiguration.FileMode => fileMode ?? 644

The file mode to apply for created files.

Definition at line 83 of file PermissionConfiguration.cs.

Referenced by Ntp.Analyzer.Process.Initializer.InitializeSecurity().

Property Documentation

uint Ntp.Analyzer.Config.Node.PermissionConfiguration.AppUserId
get
string Ntp.Analyzer.Config.Node.PermissionConfiguration.AppUserName
get

The user which is used in execution context.

Definition at line 62 of file PermissionConfiguration.cs.

uint Ntp.Analyzer.Config.Node.PermissionConfiguration.GroupId
get
string Ntp.Analyzer.Config.Node.PermissionConfiguration.GroupName
get

The group owner of created files.

Definition at line 76 of file PermissionConfiguration.cs.

uint Ntp.Analyzer.Config.Node.PermissionConfiguration.UserId
get
string Ntp.Analyzer.Config.Node.PermissionConfiguration.UserName
get

The owner of created files.

Definition at line 69 of file PermissionConfiguration.cs.


The documentation for this class was generated from the following file: