ITokenServiceGetVisibleTokens Method

Gets the definitions of all tokens visible to the caller, filtered by project ID.

Namespace: Dundas.BI.Data.Parameters.Tokens
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
ICollection<TokenDefinition> GetVisibleTokens(
	ICollection<Guid> projectIds
)

Parameters

projectIds  ICollectionGuid
The IDs of any projects whose tokens should be included in the result. Include Empty to specify that non-project tokens should be included in the result.

Return Value

ICollectionTokenDefinition
The tokens which are visible to the caller.
Exceptions
ExceptionCondition
InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
Note  Note
This method differs from TokenQuery(Int32, Int32, IListTupleTokenQueryField, SortDirection, ICollectionTokenQueryFilterRule) because the latter may include tokens belonging to other users, while this method will not.
See Also