Security |
The SecurityUser type exposes the following members.
| 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) |