Security |
public class SecurityUser
The SecurityUser type exposes the following members.
| Name | Description | |
|---|---|---|
| SecurityUser | Constructor |
| Name | Description | |
|---|---|---|
| AgentConfiguration | First AI Agent configuration assigned to this user via the DefaultGroup AgentGUIDs. Returns null if no group is set or no enabled agents are found. | |
| AgentConfigurations | AI Agent configurations assigned to this user via the DefaultGroup AgentGUIDs. Returns an empty list if no group is set or no enabled agents are found. | |
| AllFolders | Flat list of all SWIFolder of the user | |
| AuthenticationSummary | Summary of the authentication | |
| DefaultAgentConfiguration | Default AI Agent configuration for this user. Resolution order: the last agent the user selected (LastAgentGUID), then the server's DefaultAgentGUID, then the first assigned agent. Each candidate must still be among the agents assigned to the user. | |
| DefaultGroup | Default group of the user | |
| EditProfile | True if user can edit his profile | |
| IsAuthenticated | True if the user is authenticated and part of a group | |
| PersonalFolderReportDownload | True if the user can download the report definitions stored in his personal folder. The most permissive setting among the groups granting a personal folder applies. | |
| PersonalFolderRight | Right for the personal folder | |
| PersonalFolderUpload | True if the user can upload files and reports into his personal folder. The most permissive setting among the groups granting a personal folder applies. | |
| ProfileDirectory | Profile directory | |
| ProfilePath | Profile file path | |
| SecurityGroupsDisplay | List of security group names in a string | |
| ShowAllFolders | True if folders with no right are also shown | |
| ShowErrorDetail | True if user can see the detail of exceptions (error message and stack trace) in the Web Report Server. | |
| ShowFoldersView | If true, folders view is shown | |
| SqlModel | True if the user has the right to edit SQL models and to query the database (raw SQL) with the AI Tools. True if at least one of the user's groups enables SQL Models. |
| Name | Description | |
|---|---|---|
| AddDefaultSecurityGroup | Add default security groups | |
| AddSecurityGroup | Add a security group from a given name | |
| AddWindowsGroupToSecurityGroup | Add security groups from the current Windows group of the logged user | |
| Authenticate | Authenticate the user using the current security script | |
| BelongsToGroup | Returns true if the user belongs to a group given by a name | |
| CanAccessDevice | True if the AI tools can use the given output device for this user. Output devices are restricted through the OutputDeviceGUIDs of the user's security groups. If none of the groups defines a restriction (all lists are empty), all output devices are allowed. Otherwise the device is allowed when at least one group lists its GUID (additive rights). | |
| CanAccessSource | True if the AI tools can access the given data source for this user. Data sources are restricted through the DataSourceGUIDs of the user's security groups. If none of the groups defines a restriction (all lists are empty), all data sources are allowed. Otherwise the source is allowed when at least one group lists its GUID (additive rights). | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| FillFolder | Fills the sub-folders of a folder applying the user's security rights. | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| FindRepositorySecurityFolder | Find a repository security folder from a given repository-relative path (without the Repository prefix) | |
| FindSecurityFolder | Find a security folder from a given name | |
| GetFolder | Returns the SWIFolder for a given relative path, applying the user's security rights. | |
| GetFullPath | Returns the full physical path of a folder relative path. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetPersonalFolderName | Returns the personal folder name | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| HasFolderRight | Returns true when the given physical directory is accessible to this user with at least minRight. Mirrors SWIMoveFile: resolves physDir to a SWIFolder path, looks it up in AllFolders, then applies the same right checks (right==0 → no access; FolderRight.Edit required for write operations). | |
| LoginAuthentication | Authenticate a login with a password and set his groups | |
| Logout | Logout the user | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| SaveProfile | Save the user profile | |
| SetFolders | Build the current folders of the user (including Personal folders) and execute the Folders Scripts of the user's security groups. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| CurrentFolder | The folder path (SWI format) the user is currently browsing in the web interface. Set by SWIGetFolderDetail each time the user navigates to a folder. Empty string means the Reports root; ":" means the Personal root. | |
| User email if set during login process | ||
| Error | Last error | |
| FolderDetail | Current folder detail of the user | |
| FolderDetails | List of all SWIFolderDetail of the user. The list is built when the user browse the folders. | |
| Folders | Current list of SWIFolder of the user | |
| Identity | The current Windows Identity | |
| Login | Security login if the authentication using Security Logins is used | |
| Name | Name of the user | |
| PersonalFolderName | Personal folder name | |
| Profile | Current SecurityUserProfile | |
| Request | Parameters for authentication: The Request done for the login | |
| ScriptNumber | Current script execution number when several Folders or Folder Detail scripts are executed. | |
| Security | Current SealSecurity | |
| SecurityCode | Parameters for authentication: Security code generated for 2FA | |
| SecurityCodeGeneration | Parameters for authentication: Security code generation date for 2FA | |
| SecurityCodeMessage | Parameters for authentication: Security code message generated for 2FA | |
| SecurityCodeTries | Number of tries to check the security code for 2FA | |
| SecurityGroups | List of SecurityGroup of the users | |
| SessionID | Current SessionID | |
| Tag | Custom string got in user profile | |
| Tag2 | Custom string got in user profile | |
| Token | Parameters for authentication: Token | |
| UserPrincipal | The current UserPrincipal if connected with the AD | |
| Warning | Last warning | |
| WebHostName | Web host name | |
| WebMenu | Current reports web menu of the user (used for Folder Detail Scripts) | |
| WebPassword | Parameters for authentication: Password | |
| WebPrincipal | The current Windows IPrincipal | |
| WebSecurityCode | Parameters for authentication: Security code sent by the user for 2FA | |
| WebUserName | Parameters for authentication: User name |