The IsValid property of the Role interface indicates whether the role object structure is valid.
clsCubeRole | clsDatabaseRole |
Boolean
Read-only
A role object is valid if the Name and UsersList properties are not empty strings and it its Parent property is valid.
Use the following code to return a role object validity status:
Dim bRet As Boolean
bRet = RoleObject.IsValid
About Decision Support Objects | Using Decision Support Objects |
Properties Cross-Reference |