IFileSystemServiceEnsureVisible Method |
Ensures that a particular entity is visible to the specified accounts and groups.
Namespace:
Dundas.BI.FileSystem
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax EnsureVisibleResult EnsureVisible(
Guid entityId,
ICollection<Guid> accountIds,
ICollection<Guid> groupIds
)
Function EnsureVisible (
entityId As Guid,
accountIds As ICollection(Of Guid),
groupIds As ICollection(Of Guid)
) As EnsureVisibleResult
EnsureVisibleResult^ EnsureVisible(
Guid entityId,
ICollection<Guid>^ accountIds,
ICollection<Guid>^ groupIds
)
abstract EnsureVisible :
entityId : Guid *
accountIds : ICollection<Guid> *
groupIds : ICollection<Guid> -> EnsureVisibleResult
Parameters
- entityId
- Type: SystemGuid
The ID of the entity. - accountIds
- Type: System.Collections.GenericICollectionGuid
The IDs of accounts which require access to the entity, or if no accounts require access. - groupIds
- Type: System.Collections.GenericICollectionGuid
The IDs of groups which require access to the entity, or if no groups require access.
Return Value
Type:
EnsureVisibleResultAn object describing the result of the operation.
Exceptions Exception | Condition |
---|
NotFoundException | The entity with the specified ID could not be found. -or- One or more of the specified accounts or groups could not be found. |
NoPrivilegeException | The caller does not have the Read privilege on the specified entity. -or- One or more of the specified accounts or groups belongs to a different tenant than the caller. |
InvalidSessionException | The caller context is not associated with a valid session. |
Remarks
Use this method when a particular user (or set of users) needs to be able to use
an entity (such as a dashboard) and you want to ensure that they have the required privileges for
the entity and any dependencies.
See Also