ModuleSecurity Class

Class for Security operation.
Public Class ModuleSecurity
This language is not supported or no code example is available.
public class ModuleSecurity
This language is not supported or no code example is available.
Name Description
Public constructor ModuleSecurity(RunObj, int) Construct an instance of this class
Top
Name Description
Public property CanClientShutdown Get flag indicating whether can stop Client module
Public property CanClientStart Get flag indicating whether can start Client module
Public property CanCreateUsers Get flag indicating whether users can be created
Public property CanShutdown Get flag indicating whether can shutdown
Public property CanSwitchApplication Get flag indicating whether can switch between Windows applications
Public property CanToolsSetValues Get flag indicating whether Tools modules can set values
Public property CurrentUser Get and set reference to current user
Public property CurrentUserName Get and set name of current user
Public property Permission Access to SecurityPermission objects.
Public property Policy Access to SecurityPolicy objects.
Public property RuntimeUser Access to SecurityRuntimeUser objects.
Public property User Access to SecurityUser objects.
Public property WindowsUser Current Windows User.
Top
Methods
 
Name Description
Public method AddRuntimeUser(string, string, string, string, string, string, string, string, bool) Add runtime user
Public method AddRuntimeUser(string, string, string) Add runtime user
Public method AddRuntimeUser(string, string, string, string, string, string, string, string, TRef<int>) Add runtime user
Public method AddRuntimeUser(string, string, string, string, string, string, string, string, bool, TRef<int>) Add runtime user
Public method CheckLevel(int) Check level of current user
Public method CheckPermissionsGroup(long) Check permissions of current user
Public method CheckRunPermission(ePermissionsRun) Check permission of current user
Public method CheckRunPermission(long) Check Runpermissions of current user
Public method CheckRunPermissionFromUser(string, ePermissionsRun) Check permission from user
Public method CheckUser(ref string, string, string) Check user
Public method ESignTimeout() Gets ESign timeout of current
Public method GetListOfPermissionNamesOfPredefinedUsers() Get permission names of predefined users
Public method GetListOfPermissionNamesOfRuntimeUsers() Get permission names of runtime users
Public method GetListOfPermissionNamesOfUsers() Get permission names of users
Public method GetListOfPredefinedUserNames() Get predefined user names
Public method GetListOfRuntimeUserNames() Get runtime user names
Public method GetListOfUserNames() Get user names
Public method GetPasswordHint(string) Get password hint of user
Public method GetPermissions(ref string) Get permissions of user
Public method GetPermissionsFromString(string) Get permission number from string
Public method GetPolicyFromString(string) Gets policy ID from string
Public method GetRunPermissions() Get run permissions of current user
Public method GetRuntimeUsersTable() Get table of runtime users
Public method GetUserNames() Get user names
Public method GetUsers() Get users
Public method IsESignEnabled() Gets if current user has ESign enabled
Public method LogOn(string, string) Do synchronous log on
Public method NewRuntimeUser(string) New runtime user
Public method NewRuntimeUser(string, TRef<int>) New runtime user
Public method ReloadRuntimeUsers() Reload runtime users
Public method RemoveRuntimeUser(string) Remove runtime user
Public method RemoveRuntimeUserInDatabase(string, ref DataTable) Remove runtime user in database
Public method SaveUserPasswordRuntimeUserInDatabase(string, string) Save new password in database
Public method SetBlockedUser(string, bool) Block or unblock runtime user.
Public method SetDeletedUser(string, bool) Set flag Deleted of runtime user. This method does not remove user in runtime database.
Public method ShouldAutoLogoff() Check auto log off
Public method UpdateRuntimeUser(string) Update runtime user
Public method UpdateRuntimeUser(string, TRef<int>) Update runtime user
Public method UpdateRuntimeUser(string, string) Update runtime user
Public method UpdateRuntimeUserInDatabase(string, ref DataTable, string) Update runtime user in database
Public method UserChangePassword(string, string, string) Change user password
Public method ValidateUser(string, string) Validate user
Top
Name Description
Public enumeration e Enum containg list of IDs of runtime objects
Top
T.Modules.Security.ModuleSecurity

.NET Framework

Supported in: 4.6.2, 4.7

In this article

Definition