Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "id": 7,
- "role": "risk_owner",
- "Name": "Sushma rana"
- },
- {
- "id": 8,
- "role": "risk_owner",
- "Name": "lal amt"
- },
- {
- "id": 41,
- "role": "risk_moderator",
- "Name": "username lastname"
- },
- {
- "id": 42,
- "role": "control_owner",
- "Name": "user 2"}]
- private func updateActionOwnerFunction(){
- for index in 0..<rideList.count{
- let json = rideList[index] as! JSON
- if (json["role"].stringValue.contains ("risk_tracker_action_owner control_owner risk_tracker_moderator risk_moderator risk_tracker_owner")){
- actionOwnerName.append(json["Name"].stringValue)
- }else{
- print("not role")
- }
- setupActionOwnerDropDown()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement