WitConstants.SecurityConstants.GetSharedQueriesFolderToken(Guid, Guid) Method
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.
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);
public string GetSharedQueriesFolderToken(Guid projectId, Guid sharedQueriesFolderId);
member this.GetSharedQueriesFolderToken : Guid * Guid -> string
Public Function GetSharedQueriesFolderToken (projectId As Guid, sharedQueriesFolderId As Guid) As String
Parameters
- projectId
- Guid
Project guid.
- sharedQueriesFolderId
- Guid
guid of shared query folder of the project.
Returns
security token for shared query folder.