Click or drag to resize

SecurityUser Methods

The SecurityUser type exposes the following members.

Methods
 NameDescription
Public methodAddDefaultSecurityGroup Add default security groups
Public methodAddSecurityGroup Add a security group from a given name
Public methodAddWindowsGroupToSecurityGroup Add security groups from the current Windows group of the logged user
Public methodAuthenticate Authenticate the user using the current security script
Public methodBelongsToGroup Returns true if the user belongs to a group given by a name
Public methodCanAccessDevice 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).
Public methodCanAccessSource 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).
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodFillFolder Fills the sub-folders of a folder applying the user's security rights.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFindRepositorySecurityFolder Find a repository security folder from a given repository-relative path (without the Repository prefix)
Public methodFindSecurityFolder Find a security folder from a given name
Public methodGetFolder Returns the SWIFolder for a given relative path, applying the user's security rights.
Public methodGetFullPath Returns the full physical path of a folder relative path.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetPersonalFolderName Returns the personal folder name
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHasFolderRight 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).
Public methodLoginAuthentication Authenticate a login with a password and set his groups
Public methodLogout Logout the user
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSaveProfile Save the user profile
Public methodSetFolders Build the current folders of the user (including Personal folders) and execute the Folders Scripts of the user's security groups.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also