INotificationFilter.RemoveRestrictedContent Method
RemoveRestrictedContent is used by the filter to make sure that users are not given content they are not authorized to see.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Sub RemoveRestrictedContent ( _
requestContext As TeamFoundationRequestContext, _
source As String, _
userIdentities As TeamFoundationIdentity(), _
eventCopy As XmlDocument, _
<OutAttribute> ByRef restrictions As Restriction() _
)
void RemoveRestrictedContent(
TeamFoundationRequestContext requestContext,
string source,
TeamFoundationIdentity[] userIdentities,
XmlDocument eventCopy,
out Restriction[] restrictions
)
void RemoveRestrictedContent(
TeamFoundationRequestContext^ requestContext,
String^ source,
array<TeamFoundationIdentity^>^ userIdentities,
XmlDocument^ eventCopy,
[OutAttribute] array<Restriction^>^% restrictions
)
abstract RemoveRestrictedContent :
requestContext:TeamFoundationRequestContext *
source:string *
userIdentities:TeamFoundationIdentity[] *
eventCopy:XmlDocument *
restrictions:Restriction[] byref -> unit
function RemoveRestrictedContent(
requestContext : TeamFoundationRequestContext,
source : String,
userIdentities : TeamFoundationIdentity[],
eventCopy : XmlDocument,
restrictions : Restriction[]
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- source
Type: System.String
- userIdentities
Type: array<Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity[]
- eventCopy
Type: System.Xml.XmlDocument
- restrictions
Type: array<Microsoft.TeamFoundation.Server.Core.Restriction[]%
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.