Edit

Share via


WitConstants.SecurityConstants.GetRootClassificationNodeToken(Guid) Method

Definition

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;

public string GetRootClassificationNodeToken(Guid nodeId);
member this.GetRootClassificationNodeToken : Guid -> string
Public Function GetRootClassificationNodeToken (nodeId As Guid) As String

Parameters

nodeId
Guid

Guid of root level node

Returns

Security token for the given root node.

Applies to