Click or drag to resize

SORole Interface

Represents a role - which defines access rights to information. Can be modified if user has UserAdmin rights.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
public interface SORole : IRole

The SORole type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleChanged
Has object been changed since it was loaded?
(Inherited from IRole.)
Public propertyDataRight (Inherited from IRole.)
Public propertyCode exampleDeleted
Has the role been deleted?
(Inherited from IRole.)
Public propertyCode exampleDescription
Description of the role.
(Inherited from IRole.)
Public propertyCode exampleFunctionRights
Collection of function rights active for this role
(Inherited from IRole.)
Public propertyCode exampleIdentity
The primary key on the role table. Is zero for new objects. Is set when an object is saved.
(Inherited from IRole.)
Public propertyCode exampleName
Name of the role.
(Inherited from IRole.)
Public propertyCode exampleType
Type of role (associate/external/anonymous/system).
(Inherited from IRole.)
Top
Methods
  NameDescription
Public methodCode exampleAddFunctionRight
Add a function right to the active list. Use the function right id or the function right key-name (like 'admin-users')
(Inherited from IRole.)
Public methodCode exampleCancelChanges
Cancel reverts the changes to the role
(Inherited from IRole.)
Public methodCode exampleDelete
Delete the role. Marks the role as deleted and removes all data and function rights from the role. Users having the deleted role must be assigned a new role. Will throw an error if you do not have user admin rights.
(Inherited from IRole.)
Public methodCode exampleHasFunctionRight
Returns true if the role has the given function right
(Inherited from IRole.)
Public methodCode exampleIsRelationshipCovered
Returns true if the role defines rights for the given type of relationship. The relationships vary according to role type.
(Inherited from IRole.)
Public methodCode exampleIsTableCovered
Returns true if the role defines rights for the given table. The list of tables is the same for all role types.
(Inherited from IRole.)
Public methodCode exampleRemoveFunctionRight
Remove a function right from the active list. (Refresh the list of functionrights in the role before saving.)
(Inherited from IRole.)
Public methodCode exampleSave
Save stores the changes to the role in the database. Will throw an error if you do not have user admin rights.
(Inherited from IRole.)
Top
See Also