ISiteAssetsAssignedToUser Method
|
Retrieves a collection of
Assets assigned to a specific
User, in a paginated fashion.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax IEnumerable<IAsset> AssetsAssignedToUser(
IUser user,
out int count,
bool includeGroups = false,
int pageSize = -1,
int startIndex = -1
)
Function AssetsAssignedToUser (
user As IUser,
<OutAttribute> ByRef count As Integer,
Optional includeGroups As Boolean = false,
Optional pageSize As Integer = -1,
Optional startIndex As Integer = -1
) As IEnumerable(Of IAsset)
IEnumerable<IAsset^>^ AssetsAssignedToUser(
IUser^ user,
[OutAttribute] int% count,
bool includeGroups = false,
int pageSize = -1,
int startIndex = -1
)
abstract AssetsAssignedToUser :
user : IUser *
count : int byref *
?includeGroups : bool *
?pageSize : int *
?startIndex : int
(* Defaults:
let _includeGroups = defaultArg includeGroups false
let _pageSize = defaultArg pageSize -1
let _startIndex = defaultArg startIndex -1
*)
-> IEnumerable<IAsset>
Parameters
- user
- Type: Ingeniux.CMSIUser
The User that Assets are assigned to - count
- Type: SystemInt32
Outputs total count of entries - includeGroups (Optional)
- Type: SystemBoolean
Whether to include Assets that are assigned to the Groups the
User belongs to - pageSize (Optional)
- Type: SystemInt32
Number of entries to return. If not provided, returns all entries. - startIndex (Optional)
- Type: SystemInt32
Starting index of entries. If not provided, starts from the first entry.
Return Value
Type:
IEnumerableIAssetCollection of
Assets assigned to the specified
UserRemarks
When the "user" parameter value is null, returns empty collection, with "count" parameter output 0.
See Also