WitConstants.SecurityConstants Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public class WitConstants.SecurityConstants
type WitConstants.SecurityConstants = class
Public Class WitConstants.SecurityConstants
- Inheritance
-
WitConstants.SecurityConstants
Constructors
WitConstants.SecurityConstants() |
Fields
CommonStructureNodeSecurityNamespaceGuid |
Security namespace for area nodes. |
CrossProjectQueryPermission | |
IterationNodeSecurityNamespaceGuid |
Security namespace guid for iteration nodes. |
QueryItemRootToken | |
QueryItemSecurityNamespaceGuid | |
WorkItemReadPermission | |
WorkItemTrackingArtifactUriQueryToken | |
WorkItemTrackingNamespaceId | |
WorkItemTrackingReadAcrossProjectPermission | |
WorkItemTrackingRootToken |
Methods
GetRootClassificationNodeToken(Guid) |
Gets security token for root level classification nodes (area node and iteration node). Note: This will return invalid token for any node other than root-node (it will not throw exception or return null). Example to get root level area node: witClient.GetClassificationNodeAsync(projectId, TreeStructureGroup.Areas, depth: 0).SyncResult().Identifier; Example to get root level Iteration node: witClient.GetClassificationNodeAsync(projectId, TreeStructureGroup.Iterations, depth: 0).SyncResult().Identifier; |
GetSharedQueriesFolderToken(Guid, Guid) |
Gets security token for shared query folder. Note: This will return invalid token for any query guid other than shared query folder guid (it will not throw exception or return null). Example to get SharedQueryFolderGuid: witClient.GetQueriesAsync(projectId, depth: 1).SyncResult().First(s => s.IsPublic.Value); |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for