SessionDataExtensionsFilterItemsByUserPermissionsT Method
Filters the items to the environment and sub-environments the currentUser has access to.
If the currentUser is in the main environment, no filter will be applied.
Namespace: MobileTrack.DataContainers.ExtensionsAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public static List<T> FilterItemsByUserPermissions<T>(
this UserSessionData currentUser,
Dictionary<Guid, T> items
)
where T : IIdLabel, IHasEnvironment
- currentUser UserSessionData
- The current user
- items DictionaryGuid, T
- Item stack to filter
- T
[Missing <typeparam name="T"/> documentation for "M:MobileTrack.DataContainers.Extensions.SessionDataExtensions.FilterItemsByUserPermissions``1(MobileTrack.DataContainers.Models.UserSessionData,System.Collections.Generic.Dictionary{System.Guid,``0})"]
ListTFiltered dictionaryIn Visual Basic and C#, you can call this method as an instance method on any object of type
UserSessionData. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).